restart instead of just start
authorPeter Palfrader <peter@palfrader.org>
Sun, 19 Feb 2017 08:15:00 +0000 (09:15 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 19 Feb 2017 08:15:17 +0000 (09:15 +0100)
modules/debian-org/manifests/init.pp

index b93c243..e8962c6 100644 (file)
@@ -192,7 +192,7 @@ class debian-org {
        file { '/etc/rc.local':
                mode   => '0755',
                content => template('debian-org/rc.local.erb'),
-               notify => Exec['service rc.local start'],
+               notify => Exec['service rc.local restart'],
        }
        file { '/etc/dsa':
                ensure => directory,
@@ -258,7 +258,7 @@ class debian-org {
        exec { 'service puppetmaster restart':
                refreshonly => true
        }
-       exec { 'service rc.local start':
+       exec { 'service rc.local restart':
                refreshonly => true
        }
        exec { 'init q':