]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/samhain/manifests/init.pp
Make samhain stuff per host, so handel can stop complaining
[dsa-puppet.git] / modules / samhain / manifests / init.pp
1 class samhain {
2
3     package { samhain: ensure => latest }
4
5     file { "/etc/samhain/samhainrc":
6         owner   => root,
7         group   => root,
8         mode    => 444,
9         source  => [ "puppet:///samhain/per-host/$fqdn/samhainrc",
10                      "puppet:///samhain/common/samhainrc" ],
11         require => Package["samhain"],
12         notify  => Exec["samhain reload"],
13     }
14
15     exec { "samhain reload":
16         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
17         refreshonly => true,
18     }
19 }
20