Hi all,
Is it possible to override the behaviour of all instances of a
resource from a module?
I would like to have my "apt" module add a requirement for Exec["apt-
get update"] to all Package resources.
putting
Package { require => Exec["apt-get update"] }
in the module itself won't work, since the scope of that will only be
in the module itself.
using
Package <| |> { require => Exec["apt-get update"}
will do what I want, but it has the side-effect of realizing all
virtual resources. many of which I don't want.
Any options?
--
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.