Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current release candidate can't restart zabbix agent service #253

Open
ITler opened this issue Jul 25, 2016 · 1 comment
Open

current release candidate can't restart zabbix agent service #253

ITler opened this issue Jul 25, 2016 · 1 comment

Comments

@ITler
Copy link
Contributor

ITler commented Jul 25, 2016

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 4.3.2
  • Ruby: ruby 2.1.8p440 (2015-12-16 revision 53160) [x86_64-linux]
  • Distribution: Ubuntu 14 LTS
  • Module version: b802fa7 2.3.3-rc0

How to reproduce (e.g Puppet code you use)

include zabbix::agent

What are you seeing

New ´systemctl´ implementation not working correctly for Ubuntu 14 LTS for particular use case:

Unable to restart zabbix agent service after changes to zabbix agent configuration were made.
(zabbix agent was already provisioned by puppet beforehand)
This also results in deletion of startup scripts... This also affects zabbix server startup script

What behaviour did you expect instead

service restart works

Output log

Error: /Stage[main]/Systemd/Exec[systemctl-daemon-reload]: Failed to call refresh: Could not find command 'systemctl'
Error: /Stage[main]/Systemd/Exec[systemctl-daemon-reload]: Could not find command 'systemctl'
Error: /Stage[main]/Zabbix::Agent/Service[zabbix-agent]: Could not evaluate: Could not find init script or upstart conf file for 'zabbix-agent'
Error: /Stage[main]/Zabbix::Agent/Service[zabbix-agent]: Failed to call refresh: Could not find init script or upstart conf file for 'zabbix-agent'
Error: /Stage[main]/Zabbix::Agent/Service[zabbix-agent]: Could not find init script or upstart conf file for 'zabbix-agent'
@ITler ITler changed the title current chn current release candidate can't restart zabbix agent service Jul 25, 2016
@jk2l
Copy link
Contributor

jk2l commented Jul 25, 2016

This is duplicate issue of #252 working a fix with them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants