FS#45044 - [puppet] systemd service file for puppet agent has wrong path
Attached to Project:
Community Packages
Opened by Michael Gisbers (mgisbers) - Thursday, 21 May 2015, 14:03 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 23 May 2015, 08:36 GMT
Opened by Michael Gisbers (mgisbers) - Thursday, 21 May 2015, 14:03 GMT
Last edited by Jonathan Steel (jsteel) - Saturday, 23 May 2015, 08:36 GMT
|
Details
Description:
Path within systemd service file does not use corrct path to puppet binary. Because of that the puppet agent cannot be started with 'systemctl start puppet.service'. Service file for puppet master is correct and works as expected. Additional info: * 4.0.0-2 Steps to reproduce: wrong line within /usr/lib/systemd/system/puppet.service: ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize should be: ExecStart=/usr/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize after changing that line, 'systemctl daemon-reload' service starts without problems. |
This task depends upon
Closed by Jonathan Steel (jsteel)
Saturday, 23 May 2015, 08:36 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed version moved to [community]
Saturday, 23 May 2015, 08:36 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed version moved to [community]
Based on not using the AIO feature the path in puppet.service should be changed to the /usr/bin/puppet binary.