Does
Package<||> ~> exec { ..., refreshonly => true }
do the trick?
-mp.
Am 30.09.2011 um 19:43 schrieb "GeekBiker" <[email protected]>:
> I need to exec a program if ANY packages have been modified (added,
> removed, updated, etc). I tried subscribing to Package with a
> wildcard, but that isn't supported.
>
> Is there any way to trigger an exec if there were any packages changes
> were made or if yum was executed?
>
> Specifically, I need to execute "rkhunter --propupd" so we will stop
> getting false alarms whenever we update a bunch of systems.
>
> --
> 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.
>
--
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.