From c4dcaea16b00e81910ee78380cfc7fe6ec37fb30 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 7 Nov 2014 15:38:01 +0100 Subject: [PATCH] restart puppetmaster using service Getting rid of explicit /etc/init.d/ invocations as those may disappear. Signed-off-by: Helmut Grohne --- modules/debian-org/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 9f388104..1ef3e506 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': -- 2.39.2