Hi,
I know there is a way to have global options using things like:
site.pp:
File {
owner => "root",
group => "root",
mode => 0644,
}
--
Is there a way to have something like:
File[/etc/daemon/config.d/*] {
notify => Class["daemon::service"],
}
??
I would like to have the same "notify" directive for any file resource
that falls under the path "/etc/daemon/config.d".
The reason why I would like to do it this way is that I have config
files (/etc/daemon/config.d/config_option_1) for said daemon spread
out. For instance, some of them live within modules, others are in the
private fileserver namespace. It would reduce directive clutter if
there was a way to say, "Any file living under /etc/daeomn/config.d"
has a default notify of 'Class["daemon::service"],'.
Thanks for the advice.
Sincerely,
-matt zagrabelny
--
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.