Package<||> ~> exec { ..., refreshonly => true }
do the trick?
-mp.
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
you could setup a file resource on the rpm db file with mtime, which
notifies an exec, something like
file {"/var/lib/rpm": checksum => mtime, notify => Exec...}
this way every time that file would change, your exec would be triggered.
Ohad