FAQ
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedNov 23, '12 at 5:55p
activeNov 26, '12 at 3:18p
posts2
users2
websitepuppetlabs.com

2 users in discussion

Badbishop: 1 post Jcbollinger: 1 post

People

Translate

site design / logo © 2022 Grokbase