summaryrefslogtreecommitdiffstats
path: root/bin
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 /bin
parent7ac3bd79621f6c66cd3b5b7041aeba83c27c3602 (diff)
downloadpuppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.gz
puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.tar.xz
puppet-cb0c4eebb0a7b2fadc5e0487e1c692007cb8b2e5.zip
Renaming 'configuration' to 'catalog', fixing #954.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/puppet10
-rwxr-xr-xbin/ralsh6
2 files changed, 8 insertions, 8 deletions
diff --git a/bin/puppet b/bin/puppet
index 409c23259..13e99e2a6 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -195,14 +195,14 @@ if options[:loadclasses]
end
begin
- # Compile our configuration
- config = Puppet::Node::Configuration.find(node)
+ # Compile our catalog
+ catalog = Puppet::Node::Catalog.find(node)
- # Translate it to a RAL configuration
- config = config.to_ral
+ # Translate it to a RAL catalog
+ catalog = catalog.to_ral
# And apply it
- config.apply
+ catalog.apply
rescue => detail
if Puppet[:trace]
puts detail.backtrace
diff --git a/bin/ralsh b/bin/ralsh
index 58c96c930..e43177d35 100755
--- a/bin/ralsh
+++ b/bin/ralsh
@@ -228,10 +228,10 @@ else
params.each do |param, value|
obj[param] = value
end
- config = Puppet::Node::Configuration.new
- config.add_resource obj
+ catalog = Puppet::Node::Catalog.new
+ catalog.add_resource obj
begin
- config.apply
+ catalog.apply
rescue => detail
if Puppet[:trace]
puts detail.backtrace