projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
godard: enable persistent journald storage. rt#7049
[mirror/dsa-puppet.git]
/
modules
/
samhain
/
manifests
/
init.pp
diff --git
a/modules/samhain/manifests/init.pp
b/modules/samhain/manifests/init.pp
index
f659fb8
..
64afc54
100644
(file)
--- a/
modules/samhain/manifests/init.pp
+++ b/
modules/samhain/manifests/init.pp
@@
-10,13
+10,13
@@
class samhain {
package { 'samhain':
ensure => installed,
package { 'samhain':
ensure => installed,
- noop => true,
}
service { 'samhain':
}
service { 'samhain':
- ensure => running,
+ ensure
=> running,
hasstatus => false,
pattern => 'samhain',
hasstatus => false,
pattern => 'samhain',
+ require => Package['samhain'],
}
file { '/etc/samhain/samhainrc':
}
file { '/etc/samhain/samhainrc':
@@
-24,4
+24,8
@@
class samhain {
require => Package['samhain'],
notify => Service['samhain']
}
require => Package['samhain'],
notify => Service['samhain']
}
+
+ file { '/etc/logrotate.d/samhain':
+ content => template('samhain/logrotate.d-samhain'),
+ }
}
}