A quote from http://docs.puppetlabs.com/references/latest/type.html#exec

refreshHow to refresh this command. By default, the exec is just called 
> again when it receives an event from another resource, but this parameter 
> allows you to define a different command for refreshing.


A different command... like what? What does it add to 'refreshonly' 
attribute? 

Actually, what I'm looking for, is a conditional triggering of one exec by 
another. That is exec1 notifies exec2 only if exec1 command has been 
actually executed. 
'onlyif' can prevent the execution of exec1 itself, but doesn't prevent, 
say, notify=>Exec['2'] from happening.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/zlP8oOScoFIJ.
To post to this group, send email to puppet-users@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