From 51062019a456a95ef64ca79518b824e2c779e196 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 2 Dec 2016 11:00:29 -0800 Subject: [PATCH] Use correct path to systemctl We need to run daemon-reload and that only works if the path to systemctl is correct. Change /usr/bin/systemctl to /bin/systemctl. Change-Id: Ib3fb1b3dfa895b6b56adb19c22adc8b148c8c540 --- manifests/wildfly.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/wildfly.pp b/manifests/wildfly.pp index 9b67d54..49b7246 100644 --- a/manifests/wildfly.pp +++ b/manifests/wildfly.pp @@ -29,7 +29,7 @@ class zanata::wildfly( # This is a hack to make sure that systemd is aware of the new service # before we attempt to start it. exec { 'wildfly-systemd-daemon-reload': - command => '/usr/bin/systemctl daemon-reload', + command => '/bin/systemctl daemon-reload', before => Service['wildfly'], subscribe => File['/etc/init.d/wildfly'], refreshonly => true,