On Sun, Dec 12, 2010 at 06:47:23PM -0800, russell.fulton wrote: > file { > "/home/snort/Rules/raw/": > mode => "640", > owner => snort, > group => snort, > source => 'puppet:///modules/snort/Rules/raw', > recurse => true, > recurselimit => 1, > backup => false, > ensure => present;
Try to set checksum to md5 or anything that actually checks the content of things. But I dont know if you can specify this on a directory. > class monitor { > > class pulledpork ( $master) { > exec { > "/home/snort/bin/pulledpork -nc conf/$master/pp.conf": > cwd => "/home/snort", > subscribe => [File["/home/snort/conf/$master/pp", "/home/ > snort/Rules/raw"] ], > notify => Service["snort.$master"], > user => "snort"; > } You want to specify refreshonly => true, otherwise it will be executed every run and not only if it is notified. -Stefan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.