Hi All....
I've got this configuration to manage bind, I want the exec to be run
whenever anything under /var/named or the file /etc/named.conf gets
updated....
file { "/etc/named.conf":
owner => root,
group => root,
mode => 0644,
require => Package["bind"],
source => "puppet:///dnsauth/etc/named.conf",
}
file { "/var/named":
owner => named,
group => named,
mode => 0644,
require => File["/etc/named.root.hints"],
source => "puppet:///dnsauth/var/named",
recurse => true,
force => true,
ignore => ".svn",
purge => true,
}
exec { "/etc/init.d/named reload":
subscribe => [ File["/var/named"],
File["/etc/named.conf"] ],
command => "/etc/init.d/named reload",
refreshonly => true,
}
Currently, if I modify /etc/named.conf the exec runs as expected, but if
I modify a file under /var/named it never gets run and nothing is
logged, but the file is pushed out ok.
Any ideas how to get this to work, we'd rather not add every single
file{} entry for everything under /var/named
TIA
Craig
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---