Issue #4836 has been updated by Jacob Helwig.
Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 2.7.x to 2.7.10
This has been merged into 2.7.x in
commit:86a806f595f8b7bb280c8c445eef51dfd71bf39d
commit 7777d91da0e7e7dffeb27db272ea9c37f4b8e4d9
Author: Brice Figureau <[email protected]>
Date: Sun Nov 13 10:07:47 2011
(#3757) - Refactor enable/disable to its own module
Signed-off-by: Brice Figureau <[email protected]>
commit 0ffe1acc9221aaf5fb0d47b04a8c0a72cdbe0ba1
Author: Brice Figureau <[email protected]>
Date: Thu Dec 22 13:22:43 2011
(#4836) - Agent --disable should allow to put a message
This way it is possible to let other users know why a puppet agent
has been disabled.
Usage:
puppet agent --disable "because working on backup"
When later on, the puppet agent run would abort with:
"Run of Puppet configuration client is administratively
disabled because working on backup; skipping"
It's also possible to not set a message, in which case a default
message is provided.
Signed-off-by: Brice Figureau <[email protected]>
----------------------------------------
Feature #4836: puppetd --disable improvements
https://projects.puppetlabs.com/issues/4836
Author: micah -
Status: Merged - Pending Release
Priority: Low
Assignee:
Category: error reporting
Target version: 2.7.10
Affected Puppet version: 0.25.5
Keywords: enabledisable
Branch: https://github.com/puppetlabs/puppet/pull/216
Occasionally I disable regular puppetd runs on a system by doing:
<pre>
# puppetd --disable
</pre>
This works fine, except that it could be improved in two ways:
1. If it has been manually disabled, then when a run is attempted, it should
print something more useful than this:
<pre>
notice: Run of Puppet configuration client already in progress; skipping
</pre>
because well... that message isn't really true, its not in progress, rather it
is currently disabled.
2. The something more useful that it could print could be either a default
message "notice: Puppet administratively disabled on this system; skipping", or
a custom message that you can pass to the puppetd --disable, eg. "puppetd
--disable micah is fixing stunnel template" would then print the following when
a puppetd was running: "notice: Puppet is administratively disabled because
micah is fixing stunnel template; skipping run"
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.