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
This commit is contained in:
Clark Boylan 2016-12-02 11:00:29 -08:00
parent c5bddd9e19
commit 51062019a4
1 changed files with 1 additions and 1 deletions

View File

@ -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,