summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-06-16 10:40:44 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-06-19 03:54:07 +1000
commitccf4e69b684e6620c457475c4da6a70975d52dd5 (patch)
treedf9c3906498fb082ae677abd2efdeebeb4d7cc7e
parent4036de9591bc1ab19df3a0c3bae4567240a4ec85 (diff)
downloadpuppet-ccf4e69b684e6620c457475c4da6a70975d52dd5.tar.gz
puppet-ccf4e69b684e6620c457475c4da6a70975d52dd5.tar.xz
puppet-ccf4e69b684e6620c457475c4da6a70975d52dd5.zip
Removing deprecated :pluginpath setting
Signed-off-by: Luke Kanies <luke@madstop.com>
-rw-r--r--lib/puppet/defaults.rb6
-rwxr-xr-xspec/integration/defaults.rb6
2 files changed, 3 insertions, 9 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index a2ccd8a05..f42f6e055 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -545,12 +545,6 @@ module Puppet
# Plugin information.
self.setdefaults(:main,
- :pluginpath => {:default => "$vardir/plugins/",
- :desc => "Where Puppet should look for plugins. Multiple directories should
- be colon-separated, like normal PATH variables. As of 0.23.1, this
- option is deprecated; download your custom libraries to the $libdir
- instead.",
- :type => :element}, # Don't consider this a file, since it's a colon-separated list.
:plugindest => ["$libdir",
"Where Puppet should store plugins that it pulls down from the central
server."],
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb
index a7c330509..a99a54435 100755
--- a/spec/integration/defaults.rb
+++ b/spec/integration/defaults.rb
@@ -53,13 +53,13 @@ describe "Puppet defaults" do
Puppet.settings[:bindaddress].should == ""
end
- [:factdest, :pluginpath].each do |setting|
- it "should force the #{setting} to be a directory" do
+ [:factdest].each do |setting|
+ it "should force the :factdest to be a directory" do
Puppet.settings[setting].should =~ /\/$/
end
end
- [:modulepath, :pluginpath, :factpath].each do |setting|
+ [:modulepath, :factpath].each do |setting|
it "should configure '#{setting}' not to be a file setting, so multi-directory settings are acceptable" do
Puppet.settings.element(setting).should be_instance_of(Puppet::Util::Settings::CElement)
end