Permalink
Browse files

(#13299) Fix error message when agent is disabled

When attempting to run a disabled agent the user was given an incorrect
command to re-enable the agent.
  • Loading branch information...
1 parent 849a882 commit 79bf4fa544a28b2e391cced59497a831d1b05747 @pcarlisle committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet/agent.rb
View
@@ -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

0 comments on commit 79bf4fa

Please sign in to comment.