projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove NOPASSWD: from apt-in-chroot calls for porters, add porter-bsd access on falla...
[mirror/dsa-puppet.git]
/
modules
/
samhain
/
manifests
/
init.pp
1
# = Class: samhain
2
#
3
# This class installs and configures samhain
4
#
5
# == Sample Usage:
6
#
7
# include samhain
8
#
9
class samhain {
10
11
package { 'samhain':
12
ensure => installed,
13
}
14
15
service { 'samhain':
16
ensure => running,
17
hasstatus => false,
18
pattern => 'samhain',
19
require => Package['samhain'],
20
}
21
22
file { '/etc/samhain/samhainrc':
23
content => template('samhain/samhainrc.erb'),
24
require => Package['samhain'],
25
notify => Service['samhain']
26
}
27
}