summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-04-08 21:36:29 -0500
committerLuke Kanies <luke@madstop.com>2008-04-08 21:36:29 -0500
commitd82ac984cdbafb9fd43b2566b911b3ba33c0e38c (patch)
tree0615a686f8be7810815d645650a3cd36813bd4b7
parent7774d9c443f19d44a1e2dab459fc4bfb94e75244 (diff)
downloadpuppet-d82ac984cdbafb9fd43b2566b911b3ba33c0e38c.tar.gz
puppet-d82ac984cdbafb9fd43b2566b911b3ba33c0e38c.tar.xz
puppet-d82ac984cdbafb9fd43b2566b911b3ba33c0e38c.zip
Fixing the executables to use the new indirection api.
-rwxr-xr-xbin/puppet2
-rwxr-xr-xext/module_puppet2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/puppet b/bin/puppet
index 9e1102a3d..bb7308997 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -206,7 +206,7 @@ end
begin
# Compile our catalog
- catalog = Puppet::Node::Catalog.find(node)
+ catalog = Puppet::Node::Catalog.find(node.name, :node => node)
# Translate it to a RAL catalog
catalog = catalog.to_ral
diff --git a/ext/module_puppet b/ext/module_puppet
index 6a3f33fe6..e4a680e1b 100755
--- a/ext/module_puppet
+++ b/ext/module_puppet
@@ -179,7 +179,7 @@ node.classes = classes
begin
# Compile our configuration
- catalog = Puppet::Node::Catalog.find(node)
+ catalog = Puppet::Node::Catalog.find(node.name, :node => node)
rescue => detail
if Puppet[:trace]
puts detail.backtrace