From: Helmut Grohne Date: Fri, 7 Nov 2014 14:38:01 +0000 (+0100) Subject: restart puppetmaster using service X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c4dcaea16b00e81910ee78380cfc7fe6ec37fb30;p=mirror%2Fdsa-puppet.git restart puppetmaster using service Getting rid of explicit /etc/init.d/ invocations as those may disappear. Signed-off-by: Helmut Grohne --- diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 9f3881047..1ef3e506f 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -305,8 +305,7 @@ class debian-org { path => '/usr/bin:/usr/sbin:/bin:/sbin', refreshonly => true } - exec { 'puppetmaster restart': - path => '/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin', + exec { 'service puppetmaster restart': refreshonly => true } exec { 'service rc.local start':