I need to have an Exec command notify a File block only to run if the Exec is true. Is that possible? exec { "check_version": command => "/bin/echo 'versions differ'", unless => "/usr/bin/test `/bin/cat VERSION.txt` = \"1.0\"", notify => File["/app_dir"], } # create app_dir only if versions differ file { /app_dir: recurse => true, require => [Exec["check_version"], source => "puppet:///modules/app/versions/1.0", subscribe => Exec["check_version"], } Is this possible? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/f00e9418-663d-4359-ac60-f28edb0d77b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.