From b0ef08bfdfe3a1cdb81aa7622de0807786b24e3f Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 27 May 2009 10:11:25 -0500 Subject: Fixing #2248 - --no-client correctly leaves off client All of the settings were there, we just weren't doing anything about them. Signed-off-by: Luke Kanies --- lib/puppet/application/puppetd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet') diff --git a/lib/puppet/application/puppetd.rb b/lib/puppet/application/puppetd.rb index 7a92db11d..1f97043fa 100644 --- a/lib/puppet/application/puppetd.rb +++ b/lib/puppet/application/puppetd.rb @@ -229,7 +229,7 @@ Puppet::Application.new(:puppetd) do enable_disable_client(@agent) if options[:enable] or options[:disable] - @daemon.agent = agent + @daemon.agent = agent if options[:client] # It'd be nice to daemonize later, but we have to daemonize before the # waitforcert happens. -- cgit