I'm investigating mcollective and it is aware of the Puppet3 --enable and --disable flags.
root@test3:~# puppet agent --disable "this is a test message"
root@test3:~# cat /var/lib/puppet/state/agent_disabled.lock
{"disabled_message":"this is a test message"}#
using these flags allows mcollective to perform puppet runs on enabled hosts but not disabled hosts. in my current infrastructure using puppetctl, mcollective will run on puppetctl disabled hosts.
puppet agent --disable isn't as smart as puppetctl: there's no timed disables or motd modification.
if I wind up modifying puppetctl to support mcollective, are you interested in including the changeset in upstream? I think it might be as simple as also doing a puppet agent --{en,dis}able for the corresponding puppetctl actions.
I'm investigating mcollective and it is aware of the Puppet3
--enableand--disableflags.using these flags allows mcollective to perform puppet runs on enabled hosts but not disabled hosts. in my current infrastructure using puppetctl, mcollective will run on puppetctl disabled hosts.
puppet agent --disableisn't as smart aspuppetctl: there's no timed disables or motd modification.if I wind up modifying puppetctl to support mcollective, are you interested in including the changeset in upstream? I think it might be as simple as also doing a
puppet agent --{en,dis}ablefor the corresponding puppetctl actions.