-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
server_logtype should be optional #655
Comments
Hey @trenta, thanks for opening this issue! :) I see that the parameter https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/server.pp#L313 What exactly are you missing? |
So that parameter is taken from this if statement https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/params.pp#L283 So if the systemd fact returns true then server_logtype is set to system and can't be set by the user. |
That‘s agent_logtype your‘re linking to. Do you mean agent_logtype or server_logtype? |
Sorry yes puppet-zabbix/manifests/params.pp Line 178 in dce7c92
All over the place this morning :) |
No worries, just wanted to be sure! :) server_logtype can be configured like this: class { "zabbix::server":
server_logtype => "file",
} |
Thanks for your help. Can't believe I missed that. For the server I'd still be configuring things in the zabbix class. |
Yeah to just to confirm if you want to use the zabbix class for a single server setup you can't alter this value so I'd have to change to the following explicit setup so I can set that value? zabbix::web |
Affected Puppet, Ruby, OS and module versions/distributions
Currently server_logtype is set by the module with no user option available. I'd like to set it to file rather than system.
The text was updated successfully, but these errors were encountered: