-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Drop management of Init script #541
Comments
mhm. So in general I agree, managing the init script should be the last option. Getting rid of it is annoying. At least for systemd this isn't too bad because our service files are in /etc/systemd/ and not /usr/lib/systemd/. Also we have acceptance tests to ensure that the scripts work. We can improve the support of the |
I'm not sure if it is a good idea to manage the |
@bastelfreak How should we proceed here? |
Honestly, I don't know. I am fine with managing the |
Another day, another look, another problem :( Seems like the SystemV Init File for e.g. 3.0 doesn't have a Will see if i can come up with an alternative. |
So we discussed this internally and came up with the following idea: We add a parameter |
Sounds fine to me! |
Affected Puppet, Ruby, OS and module versions/distributions
What are you seeing
The module manages the init script for agent and server. This was done because some custom settings e.g.
configdir
require a change for startup values of the zabbix agent|server process. In my opinion managing the init file is bad because it leads to a lot of problems with e.g. updates and should only be done if there is no other option.What behaviour did you expect instead
Use the OS's
defaults
file:Debian -> /etc/default/zabbix-agent
RedHat -> /etc/sysconfig/zabbix-agent
SystemD -> /etc/systemd/system/zabbix-agent.service.d/override.conf
Output log
Any additional information you'd like to impart
Are you interested (and are willing to merge it ;)) in a PR which moves the configuration to the mentioned default files?
The text was updated successfully, but these errors were encountered: