summaryrefslogtreecommitdiffstats
path: root/ext/module_puppet
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-11 15:35:36 -0600
committerLuke Kanies <luke@madstop.com>2007-12-11 15:35:36 -0600
commitcb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5 (patch)
treeb4284addea69adf9d19028ff1bab94035b1c1827 /ext/module_puppet
parent7ac3bd79621f6c66cd3b5b7041aeba83c27c3602 (diff)
downloadpuppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.gz
puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.xz
puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.zip
Renaming 'configuration' to 'catalog', fixing #954.
Diffstat (limited to 'ext/module_puppet')
-rwxr-xr-xext/module_puppet6
1 files changed, 3 insertions, 3 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)