Remove unused autogenerated files
authorJan Dittberner <jandd@cacert.org>
Sat, 5 Nov 2016 11:12:41 +0000 (12:12 +0100)
committerJan Dittberner <jandd@cacert.org>
Sat, 5 Nov 2016 11:44:12 +0000 (12:44 +0100)
sitemodules/profiles/Gemfile [deleted file]
sitemodules/profiles/Rakefile [deleted file]
sitemodules/profiles/examples/init.pp [deleted file]
sitemodules/profiles/profiles_/README.md [deleted file]
sitemodules/profiles/spec/classes/init_spec.rb [deleted file]
sitemodules/profiles/spec/spec_helper.rb [deleted file]

diff --git a/sitemodules/profiles/Gemfile b/sitemodules/profiles/Gemfile
deleted file mode 100644 (file)
index 4f662dc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-source ENV['GEM_SOURCE'] || 'https://rubygems.org'
-
-puppetversion = ENV.key?('PUPPET_VERSION') ? ENV['PUPPET_VERSION'] : ['>= 3.3']
-gem 'metadata-json-lint'
-gem 'puppet', puppetversion
-gem 'puppetlabs_spec_helper', '>= 1.0.0'
-gem 'puppet-lint', '>= 1.0.0'
-gem 'facter', '>= 1.7.0'
-gem 'rspec-puppet'
-
-# rspec must be v2 for ruby 1.8.7
-if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'
-  gem 'rspec', '~> 2.0'
-  gem 'rake', '~> 10.0'
-else
-  # rubocop requires ruby >= 1.9
-  gem 'rubocop'
-end
diff --git a/sitemodules/profiles/Rakefile b/sitemodules/profiles/Rakefile
deleted file mode 100644 (file)
index 02609e3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-require 'puppetlabs_spec_helper/rake_tasks'
-require 'puppet-lint/tasks/puppet-lint'
-require 'metadata-json-lint/rake_task'
-
-if RUBY_VERSION >= '1.9'
-  require 'rubocop/rake_task'
-  RuboCop::RakeTask.new
-end
-
-PuppetLint.configuration.send('disable_80chars')
-PuppetLint.configuration.relative = true
-PuppetLint.configuration.ignore_paths = ['spec/**/*.pp', 'pkg/**/*.pp']
-
-desc 'Validate manifests, templates, and ruby files'
-task :validate do
-  Dir['manifests/**/*.pp'].each do |manifest|
-    sh "puppet parser validate --noop #{manifest}"
-  end
-  Dir['spec/**/*.rb', 'lib/**/*.rb'].each do |ruby_file|
-    sh "ruby -c #{ruby_file}" unless ruby_file =~ %r{spec/fixtures}
-  end
-  Dir['templates/**/*.erb'].each do |template|
-    sh "erb -P -x -T '-' #{template} | ruby -c"
-  end
-end
-
-desc 'Run metadata_lint, lint, validate, and spec tests.'
-task :test do
-  [:metadata_lint, :lint, :validate, :spec].each do |test|
-    Rake::Task[test].invoke
-  end
-end
diff --git a/sitemodules/profiles/examples/init.pp b/sitemodules/profiles/examples/init.pp
deleted file mode 100644 (file)
index e08ceb7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# The baseline for module testing used by Puppet Labs is that each manifest
-# should have a corresponding test manifest that declares that class or defined
-# type.
-#
-# Tests are then run by using puppet apply --noop (to check for compilation
-# errors and view a log of events) or by fully applying the test in a virtual
-# environment (to compare the resulting system state to the desired state).
-#
-# Learn more about module testing here:
-# https://docs.puppet.com/guides/tests_smoke.html
-#
-include ::profiles
diff --git a/sitemodules/profiles/profiles_/README.md b/sitemodules/profiles/profiles_/README.md
deleted file mode 100644 (file)
index 514b3cc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# CAcert profiles
-
-This module defines CAcert infrastructure specific profiles.
diff --git a/sitemodules/profiles/spec/classes/init_spec.rb b/sitemodules/profiles/spec/classes/init_spec.rb
deleted file mode 100644 (file)
index 6bdf019..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'spec_helper'
-describe 'profiles' do
-  context 'with default values for all parameters' do
-    it { should contain_class('profiles') }
-  end
-end
diff --git a/sitemodules/profiles/spec/spec_helper.rb b/sitemodules/profiles/spec/spec_helper.rb
deleted file mode 100644 (file)
index 2c6f566..0000000
+++ /dev/null
@@ -1 +0,0 @@
-require 'puppetlabs_spec_helper/module_spec_helper'