From a801c2ee8a2f5470aafc9e173f0b36b5895aef33 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Fri, 17 Jan 2014 19:02:00 +0000 Subject: [PATCH] prepare for a time when we have two things in inittab Signed-off-by: Stephen Gran --- modules/monit/manifests/init.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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'], } -- 2.20.1