From 2279acdd30ef84d20be7bae6ca2c862ddc4bf959 Mon Sep 17 00:00:00 2001 From: Andrew Shafer Date: Thu, 3 Jul 2008 12:58:30 -0600 Subject: Adding changes to config print that were missed in fix for 1183 --- ext/module_puppet | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/module_puppet') diff --git a/ext/module_puppet b/ext/module_puppet index e4a680e1b..978d660cc 100755 --- a/ext/module_puppet +++ b/ext/module_puppet @@ -138,8 +138,9 @@ server = nil end end -Puppet.genconfig -Puppet.genmanifest +if Puppet.settings.print_configs? + exit(Puppet.settings.print_configs ? 0 : 1) +end unless ARGV.length > 0 $stderr.puts "You must pass a script to parse" -- cgit