summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/filebucket5
-rwxr-xr-xext/module_puppet5
2 files changed, 6 insertions, 4 deletions
diff --git a/bin/filebucket b/bin/filebucket
index 5790c9460..17e01ed64 100755
--- a/bin/filebucket
+++ b/bin/filebucket
@@ -163,8 +163,9 @@ end
# Now parse the config
Puppet.parse_config
-Puppet.genconfig
-Puppet.genmanifest
+if Puppet.settings.print_configs?
+ exit(Puppet.settings.print_configs ? 0 : 1)
+end
begin
if options[:local] or options[:bucket]
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"