Issue #682 has been updated by Luke Kanies.

Assigned to deleted (Luke Kanies)


----------------------------------------
Feature #682: Should be able to override noop when set in a type
http://projects.puppetlabs.com/issues/682

Author: Derek Whayman
Status: Accepted
Priority: Normal
Assigned to: 
Category: RAL
Target version: Statler
Patch: None
Affected version: 0.24.7
Keywords: 
Branch: 


I'm thinking about a configuration class that, amongst other things execs out 
to a 'dangerous' configuration script.  I'd like to make this a noop by 
default, so the operator has to try a bit harder to invoke it.
So I thought about doing something like:
<pre>
class blah {
    exec { danger:
        noop => true,
        tag => hitme,
        command => "might_break_it",
        path => "/bin:/usr/bin:/usr/local/bin",
        logoutput => true
    }
}
</pre>
And fire up puppetd with
<pre>
puppetd -o --tags hitme
</pre>
Unfortunately it doesn't fire the script... Whilst I see from an earlier post 
in puppet-users there you can supply --no-noop to puppetd, it makes no 
difference.
I presume this getoptism only works if the noop you're using has been put in 
puppet.conf, not in the type.

This enhancement request is to create a way to override the "noop => true".



-- 
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.

Reply via email to