Please review pull request #671: Fix disabled error message opened by (pcarlisle)
Description:
When attempting to run a disabled agent the user was given an incorrect command to re-enable the agent. This fixes that.
- Opened: Fri Apr 13 19:07:40 UTC 2012
- Based on: puppetlabs:2.7.x (849a882d0914e305547d566471f1027102bbfba5)
- Requested merge: pcarlisle:ticket/2.7.x/13299-bad-disabled-error-message (79bf4fa544a28b2e391cced59497a831d1b05747)
Diff follows:
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 3e993f6..1b2c6c3 100644
--- a/lib/puppet/agent.rb
+++ b/lib/puppet/agent.rb
@@ -31,7 +31,7 @@ def run(*args)
return
end
if disabled?
- Puppet.notice "Skipping run of #{client_class}; administratively disabled; use 'puppet #{client_class} --enable' to re-enable."
+ Puppet.notice "Skipping run of #{client_class}; administratively disabled; use 'puppet agent --enable' to re-enable."
return
end
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
