From d82ac984cdbafb9fd43b2566b911b3ba33c0e38c Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 8 Apr 2008 21:36:29 -0500 Subject: Fixing the executables to use the new indirection api. --- bin/puppet | 2 +- ext/module_puppet | 2 +- 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 -- cgit