projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7088577
)
monit: squeeze cleanup
author
Julien Cristau
<jcristau@debian.org>
Wed, 2 Mar 2016 22:26:57 +0000
(23:26 +0100)
committer
Julien Cristau
<jcristau@debian.org>
Wed, 2 Mar 2016 22:34:36 +0000
(23:34 +0100)
Signed-off-by: Julien Cristau <jcristau@debian.org>
modules/monit/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/monit/manifests/init.pp
b/modules/monit/manifests/init.pp
index
410ed82
..
88055a1
100644
(file)
--- a/
modules/monit/manifests/init.pp
+++ b/
modules/monit/manifests/init.pp
@@
-12,17
+12,12
@@
class monit {
ensure => installed
}
- $cmd = $::lsbdistcodename ? {
- 'squeeze' => '/usr/sbin/monit',
- default => '/usr/bin/monit',
- }
-
augeas { 'inittab_monit':
context => '/files/etc/inittab',
changes => [
'set mo/runlevels 2345',
'set mo/action respawn',
- "set mo/process \"
$cmd
-d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state\"",
+ "set mo/process \"
/usr/bin/monit
-d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state\"",
],
notify => Exec['init q'],
}