Simple question
If a file changes and it notify a service, will the service be restarted? If
not do I need to create a exec? (which I have right now)
below is what I have in mind:
it this correct? thanks!
file { "named.conf" :
path => "/var/named/etc/name.conf",
mode => 0444, owner => named, group => named,
notify => Service[ "named::server ]
}
service { "named::server" :
name => $operatingsystem ? {
centos => "named",
ubuntu => "bind9",
solaris => "named".
}.
enable => true,
ensure => running,
}
--
-ls
--
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.