From 1dc6dc209afd8da9fdb84944c73c3e9f1c9b03f2 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 18 Mar 2008 15:06:34 +1100 Subject: Final fix to #1136 - further changes to --test setting --- bin/puppetd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/puppetd b/bin/puppetd index 769ced53f..063b93d44 100755 --- a/bin/puppetd +++ b/bin/puppetd @@ -289,6 +289,10 @@ if options[:test] Puppet.settings.handlearg("--no-splay") Puppet.settings.handlearg("--show_diff") Puppet.settings.handlearg("--no-daemonize") + Puppet::Util::Log.newdestination(:console) + unless options[:debug] = true + Puppet::Util::Log.level = :info + end options[:verbose] = true options[:onetime] = true options[:waitforcert] = 0 -- cgit