Hello All, Is there a way to execute an exec prior making a change from a different resource type? For instance: Is there a way that I can do exec { "/code/backup.sh"}, prior to doing file { "/etc/whatever": ensure => present, content => Template["puppet:///whatever"]}. Neither subscribe nor notify will do the trick, as I'd like to execute the script only if there's a change about to take place, and I want to a backup of the file first.
Thanks, -- 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.