]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
prepare for a time when we have two things in inittab
authorStephen Gran <steve@lobefin.net>
Fri, 17 Jan 2014 19:02:00 +0000 (19:02 +0000)
committerStephen Gran <steve@lobefin.net>
Fri, 17 Jan 2014 19:02:00 +0000 (19:02 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/monit/manifests/init.pp

index e18c0fe0043aa22f5461f0ad00dfa3ecbc17fafa..ceebb2d8eb66511b32eff10b1d5fc1c553b2df38 100644 (file)
@@ -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'],
        }