voxpupuli / puppet-zabbix

Puppet module for creating and maintaining zabbix components with puppet.

Home Page:https://forge.puppet.com/puppet/zabbix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Old template name hard coded

Fabian1976 opened this issue · comments

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?