summaryrefslogtreecommitdiff
path: root/sitemodules
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2016-11-05 12:12:41 +0100
committerJan Dittberner <jandd@cacert.org>2016-11-05 12:44:12 +0100
commit271c157aa5727ac278d50e6d1b953ad453f101b7 (patch)
treed94b564393aab8731c4586aa9ec9a661860519e0 /sitemodules
parent0cbb5132ec3cb0a875f2c04716199c61b04c9662 (diff)
downloadcacert-puppet-271c157aa5727ac278d50e6d1b953ad453f101b7.tar.gz
cacert-puppet-271c157aa5727ac278d50e6d1b953ad453f101b7.tar.xz
cacert-puppet-271c157aa5727ac278d50e6d1b953ad453f101b7.zip
Remove unused autogenerated files
Diffstat (limited to 'sitemodules')
-rw-r--r--sitemodules/profiles/Gemfile18
-rw-r--r--sitemodules/profiles/Rakefile32
-rw-r--r--sitemodules/profiles/examples/init.pp12
-rw-r--r--sitemodules/profiles/profiles_/README.md3
-rw-r--r--sitemodules/profiles/spec/classes/init_spec.rb6
-rw-r--r--sitemodules/profiles/spec/spec_helper.rb1
6 files changed, 0 insertions, 72 deletions
diff --git a/sitemodules/profiles/Gemfile b/sitemodules/profiles/Gemfile
deleted file mode 100644
index 4f662dc..0000000
--- a/sitemodules/profiles/Gemfile
+++ /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
index 02609e3..0000000
--- a/sitemodules/profiles/Rakefile
+++ /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
index e08ceb7..0000000
--- a/sitemodules/profiles/examples/init.pp
+++ /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
index 514b3cc..0000000
--- a/sitemodules/profiles/profiles_/README.md
+++ /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
index 6bdf019..0000000
--- a/sitemodules/profiles/spec/classes/init_spec.rb
+++ /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
index 2c6f566..0000000
--- a/sitemodules/profiles/spec/spec_helper.rb
+++ /dev/null
@@ -1 +0,0 @@
-require 'puppetlabs_spec_helper/module_spec_helper'