On Fri, Jan 06, 2012 at 01:24:25PM +0100, Kenneth Holter wrote:
> Hi all,
> 
> 
> I'd like to have most/all my puppet clients running in noop mode, and
> use Puppet Dashboard to toggle the noop switch for ordinary runs. I
> have groups of servers defined in the console, so toggling the noop
> switch on these groups would allow be great.
> 
> Have anyone implemented such a feature and would like to provide a quick 
> howto?
> 
> One way might be to run puppet in cron, and have puppet control the
> cron command. If a dashboard variable "noop_mode" was set for the
> node, then the cron command would be something like "puppet agent
> --noop", and if not set the command would run without noop switch
> (i.e. "puppet agent"). But this means we would need to run puppet
> agents from cron intead of in daemon mode, and I'm not sure which is
> best.

We default to --noop in production (as set in the puppet.conf file) then 
either manually override this on the command line or use mcollective to 
do grouped no-noop runs across our infrastructure. We modified the 
standard mc-puppetd to add support for this and tag specifications so we 
can do partial config runs under central control as well. I'm not sure 
how easy this would be to hook into the dashboard, but mcollective might 
be an approach to look at.

Stu
-- 
>From the prompt of Stu Teasdale

A day for firm decisions!!!!!  Or is it?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to