summaryrefslogtreecommitdiffstats
path: root/test/puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-22 17:54:46 -0500
committerLuke Kanies <luke@madstop.com>2007-09-22 17:54:46 -0500
commit3a18348fdbea39f56857b03c8f531bd5a2a8105d (patch)
treef305e24aee683167f45f962e5fcdfe524d59d93e /test/puppet
parente552c83b2875dab60a5508bfae352e7aa9235746 (diff)
downloadpuppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.gz
puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.tar.xz
puppet-3a18348fdbea39f56857b03c8f531bd5a2a8105d.zip
Renaming the 'Puppet::Util::Config' class to
'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
Diffstat (limited to 'test/puppet')
-rwxr-xr-xtest/puppet/conffiles.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/puppet/conffiles.rb b/test/puppet/conffiles.rb
index 3dfa53a13..1800c80f6 100755
--- a/test/puppet/conffiles.rb
+++ b/test/puppet/conffiles.rb
@@ -3,7 +3,6 @@
$:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/
require 'puppettest'
-require 'puppet/util/config'
class TestConfFiles < Test::Unit::TestCase
include PuppetTest
@@ -72,7 +71,7 @@ class TestConfFiles < Test::Unit::TestCase
path = tempfile()
sampledata { |data|
- config = Puppet::Util::Config.new
+ config = Puppet::Util::Settings.new
data.each { |section, hash|
hash.each { |param, value|
config.setdefaults(section, param => [value, value])
@@ -100,7 +99,7 @@ class TestConfFiles < Test::Unit::TestCase
# that the default config is free of simple typos etc.
def test_genconfig
assert_nothing_raised {
- Puppet::config::to_config
+ Puppet::settings::to_config
}
end