On Thu, 06 Jan 2011, Mohamed Lrhazi wrote:
> I added one resource to all the hosts, which dumps all environment
> variables to a file called: /etc/mcollective/facts.yaml
> This resource always reports that a change needs to be made, since
> that file content is always changing...
> 
> How do I silence this resource, so it does not report that every time?

I probably wouldn't do this, but:

    exec { "secret stuff":
        command => "/bin/false",
        unless => "do the real work here",
    }

> I have a second issue with this new resource... I really would want it
> executed each time, and not only when there are other changes in the
> pipe and I issue a puppetrun.... Is there a way to run puppet in noop
> mode, excluding one resource from the noop?

    exec { "run this even in noop mode":
        command => "whatever",
        noop => false, # overrides global noop mode
    }

--apb (Alan Barrett)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to