summaryrefslogtreecommitdiffstats
path: root/bin/puppetd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/puppetd')
-rwxr-xr-xbin/puppetd5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/puppetd b/bin/puppetd
index c36b3ed97..c38cebac0 100755
--- a/bin/puppetd
+++ b/bin/puppetd
@@ -299,8 +299,9 @@ unless options[:setdest]
Puppet::Util::Log.newdestination(:syslog)
end
-Puppet.genconfig
-Puppet.genmanifest
+if Puppet.settings.print_configs?
+ exit(Puppet.settings.print_configs ? 0 : 1)
+end
# If noop is set, then also enable diffs
if Puppet[:noop]