summaryrefslogtreecommitdiff
path: root/spec/lib/puppet_spec/settings.rb
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppetlabs.com>2015-06-01 12:21:59 +0100
committerDavid Schmitt <david.schmitt@puppetlabs.com>2015-06-01 18:02:22 +0100
commit18d4c21418e8d188ae659a92ff3a8df04d711f6a (patch)
treef044a3b9c65db499ae279a08328c18200201d094 /spec/lib/puppet_spec/settings.rb
parentf3e79ddcd56a221c7799b35efde7e9803a5c7923 (diff)
Remove unused puppet_spec code
This is copied and changed code from an older version of puppet's internal test setup code. It does not work with puppet4.
Diffstat (limited to 'spec/lib/puppet_spec/settings.rb')
-rwxr-xr-xspec/lib/puppet_spec/settings.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/lib/puppet_spec/settings.rb b/spec/lib/puppet_spec/settings.rb
deleted file mode 100755
index 8ddcb97..0000000
--- a/spec/lib/puppet_spec/settings.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-#! /usr/bin/env ruby -S rspec
-module PuppetSpec::Settings
-
- # It would probably be preferable to refactor defaults.rb such that the real definitions of
- # these settings were available as a variable, which was then accessible for use during tests.
- # However, I'm not doing that yet because I don't want to introduce any additional moving parts
- # to this already very large changeset.
- # Would be nice to clean this up later. --cprice 2012-03-20
- TEST_APP_DEFAULT_DEFINITIONS = {
- :name => { :default => "test", :desc => "name" },
- :logdir => { :type => :directory, :default => "test", :desc => "logdir" },
- :confdir => { :type => :directory, :default => "test", :desc => "confdir" },
- :vardir => { :type => :directory, :default => "test", :desc => "vardir" },
- :rundir => { :type => :directory, :default => "test", :desc => "rundir" },
- }
-end