From: Stephen Gran Date: Fri, 17 Jan 2014 19:02:00 +0000 (+0000) Subject: prepare for a time when we have two things in inittab X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a801c2ee8a2f5470aafc9e173f0b36b5895aef33;p=mirror%2Fdsa-puppet.git prepare for a time when we have two things in inittab Signed-off-by: Stephen Gran --- diff --git a/modules/monit/manifests/init.pp b/modules/monit/manifests/init.pp index e18c0fe00..ceebb2d8e 100644 --- a/modules/monit/manifests/init.pp +++ b/modules/monit/manifests/init.pp @@ -18,11 +18,12 @@ class monit { default => '/usr/sbin/monit', } - augeas { 'inittab': + 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\"", + 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\"", ], notify => Exec['init q'], }