diff options
Diffstat (limited to 'ext/module_puppet')
| -rwxr-xr-x | ext/module_puppet | 6 |
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) |
