On Wed, Jun 08, 2011 at 05:50:58PM -0700, Josh Cooper wrote: > It'd be great to hear about your experience with the pre/post run > commands and what use cases you are trying to solve.
We use the feature to generate additional information about how the puppet run has changed the system: http://www.unixdaemon.net/tools/puppet/nagios-wrapped-puppet-runs.html In our use case we're only using the two stages as information hooks for their side-effects - not to alter the puppet run. > Also, is there anything that is being solved with pre/post run > commands that can't be solved using stages? For example, if the prerun > command, catalog, and postrun commands are executed as stages, in that > order, with each stage depending on its predecessor(s), it would > ensure that: For my example usage I could quite easily move the commands to be execs in the pre and post stages. Dean -- Dean Wilson http://www.unixdaemon.net @unixdaemon http://www.puppetcookbook.com @puppetcookbook -- 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.
