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

Old template name hard coded #846

Open
Fabian1976 opened this issue Oct 20, 2022 · 0 comments
Open

Old template name hard coded #846

Fabian1976 opened this issue Oct 20, 2022 · 0 comments

Comments

@Fabian1976
Copy link
Contributor

Fabian1976 commented Oct 20, 2022

When you deploy a new Zabbix instance en manage_resources is set to true, you lose idempotency and every run this is displayed:

Notice: /Stage[main]/Zabbix::Resources::Web/Zabbix_userparameters[<FQDN_PROXY>_<NAME_PROXY_Zabbix_Proxy]/ensure: created

This is because the template is named Zabbix Proxy and in the code the old template name is hard-coded:

zabbix::userparameters { 'Zabbix_Proxy': template => 'Template App Zabbix Proxy', }

There also seems to be a parameter zbx_templates in the proxy.pp class which is not used.

Is this being fixed? Or do you wan't a PR?

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

1 participant