diff options
| author | Andrew Shafer <andrew@reductivelabs.com> | 2008-07-03 12:58:30 -0600 |
|---|---|---|
| committer | Andrew Shafer <andrew@reductivelabs.com> | 2008-07-03 12:58:30 -0600 |
| commit | 2279acdd30ef84d20be7bae6ca2c862ddc4bf959 (patch) | |
| tree | d3ed1463bfcfbb8ff26c3c9cab49c120954eeb64 /ext | |
| parent | 7a6ae299621a16fa7fd8ab0fbd2c05fe723cffa4 (diff) | |
| download | puppet-2279acdd30ef84d20be7bae6ca2c862ddc4bf959.tar.gz puppet-2279acdd30ef84d20be7bae6ca2c862ddc4bf959.tar.xz puppet-2279acdd30ef84d20be7bae6ca2c862ddc4bf959.zip | |
Adding changes to config print that were missed in fix for 1183
Diffstat (limited to 'ext')
| -rwxr-xr-x | ext/module_puppet | 5 |
1 files changed, 3 insertions, 2 deletions
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" |
