diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-11 15:35:36 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-11 15:35:36 -0600 |
commit | cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5 (patch) | |
tree | b4284addea69adf9d19028ff1bab94035b1c1827 /ext | |
parent | 7ac3bd79621f6c66cd3b5b7041aeba83c27c3602 (diff) | |
download | puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.gz puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.xz puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.zip |
Renaming 'configuration' to 'catalog', fixing #954.
Diffstat (limited to 'ext')
-rwxr-xr-x | ext/module_puppet | 6 | ||||
-rwxr-xr-x | ext/puppet-test | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/module_puppet b/ext/module_puppet index 08fc9beb2..6a3f33fe6 100755 --- a/ext/module_puppet +++ b/ext/module_puppet @@ -179,7 +179,7 @@ node.classes = classes begin # Compile our configuration - config = Puppet::Node::Configuration.find(node) + catalog = Puppet::Node::Catalog.find(node) rescue => detail if Puppet[:trace] puts detail.backtrace @@ -198,10 +198,10 @@ end begin # Translate it to a RAL configuration - config = config.to_ral + catalog = catalog.to_ral # And apply it - config.apply + catalog.apply rescue => detail Puppet.err detail exit(1) diff --git a/ext/puppet-test b/ext/puppet-test index b89156caa..362a43996 100755 --- a/ext/puppet-test +++ b/ext/puppet-test @@ -200,7 +200,7 @@ class Suite end end -Suite.new :configuration, "Configuration handling" do +Suite.new :catalog, "Catalog handling" do def prepare $args[:cache] = false # Create a config client and pull the config down @@ -227,7 +227,7 @@ Suite.new :configuration, "Configuration handling" do @facts = YAML.dump(@facts) end - newtest :compile, "Compiled configuration" do + newtest :compile, "Compiled catalog" do @client.driver.getconfig(@facts, "yaml") end |