summaryrefslogtreecommitdiffstats
path: root/bin/puppetca
diff options
context:
space:
mode:
Diffstat (limited to 'bin/puppetca')
-rwxr-xr-xbin/puppetca5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/puppetca b/bin/puppetca
index 75988432f..81e14396e 100755
--- a/bin/puppetca
+++ b/bin/puppetca
@@ -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
Puppet::Util::Log.newdestination :console