-
-
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
Support multiple zabbix_alias #435
Support multiple zabbix_alias #435
Conversation
Hi @fribergr, thanks for this PR!
|
I've added tests and rebased it against master, should be ok now. |
I'm uncomfortable with the abuse of Ruby internals rather than strict typing (requiring the value to be an array), but won't block the change. |
@juniorsysadmin good catch. Our next release already has a breaking change in it. So should this one here be changed to an array? Or accept string or array as a param in the module, but convert it to an array which gets passed to the template. We do that in other modules as well. |
@bastelfreak I would change it to an array. Less code complexity. |
@fribergr could you please change the datatype to an array? |
@bastelfreak I just removed string support. Does it look ok now? |
Can you add the datatype Optional[Array] to the zabbix_alias param in agent.pp? |
I added the requested Optional[Array], but Travis seems broken (build stuck in queued). Anything else needed? |
I restarted the job. Secret tip: You can achive the same by closing and reopening the pull request. |
Enhancement for supporting multiple Alias-directives inside zabbix_agentd.conf.