summaryrefslogtreecommitdiffstats
path: root/bin/puppetmasterd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/puppetmasterd')
-rwxr-xr-xbin/puppetmasterd5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd
index 625b75d52..69d1049e2 100755
--- a/bin/puppetmasterd
+++ b/bin/puppetmasterd
@@ -151,8 +151,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
# A temporary solution, to at least make the master work for now.
Puppet::Node::Facts.terminus_class = :yaml