Open bastelfreak opened 8 years ago
I defined a few templates in my profile:
# import postgres templates zabbix::template{'Template App PostgreSQL': templ_source => 'puppet:///modules/profiles/zabbix_templates/Template_App_PostgreSQL.xml', } -> zabbix::template{'Template App pgpool-2 Watchdog': templ_source => 'puppet:///modules/profiles/zabbix_templates/Template_App_pgpool-II_watchdog.xml', } -> zabbix::template{'Template App pgpool-2': templ_source => 'puppet:///modules/profiles/zabbix_templates/Template_App_pgpool-II.xml', } -> zabbix::template{'Template App PostgreSQL SR Cluster': templ_source => 'puppet:///modules/profiles/zabbix_templates/Template_App_PostgreSQL_SR_Cluster.xml', } -> zabbix::template{'Template App PostgreSQL SR': templ_source => 'puppet:///modules/profiles/zabbix_templates/Template_App_PostgreSQL_SR.xml', }
They will be created on every run:
root@zabbix01 ~ # puppet agent -t Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for zabbix01...de Info: Applying configuration version '1447949212' Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL SR]/Zabbix::Resources::Template[Template App PostgreSQL SR]/Zabbix_template[Template App PostgreSQL SR]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL SR Cluster]/Zabbix::Resources::Template[Template App PostgreSQL SR Cluster]/Zabbix_template[Template App PostgreSQL SR Cluster]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App pgpool-2]/Zabbix::Resources::Template[Template App pgpool-2]/Zabbix_template[Template App pgpool-2]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App pgpool-2 Watchdog]/Zabbix::Resources::Template[Template App pgpool-2 Watchdog]/Zabbix_template[Template App pgpool-2 Watchdog]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL]/Zabbix::Resources::Template[Template App PostgreSQL]/Zabbix_template[Template App PostgreSQL]/ensure: created Notice: Finished catalog run in 19.90 seconds root@zabbix01 ~ # puppet agent -t Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for zabbix01...de Info: Applying configuration version '1447949267' Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL SR]/Zabbix::Resources::Template[Template App PostgreSQL SR]/Zabbix_template[Template App PostgreSQL SR]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL SR Cluster]/Zabbix::Resources::Template[Template App PostgreSQL SR Cluster]/Zabbix_template[Template App PostgreSQL SR Cluster]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App pgpool-2]/Zabbix::Resources::Template[Template App pgpool-2]/Zabbix_template[Template App pgpool-2]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App pgpool-2 Watchdog]/Zabbix::Resources::Template[Template App pgpool-2 Watchdog]/Zabbix_template[Template App pgpool-2 Watchdog]/ensure: created Notice: /Stage[main]/Profiles::Zabbixserver/Zabbix::Template[Template App PostgreSQL]/Zabbix::Resources::Template[Template App PostgreSQL]/Zabbix_template[Template App PostgreSQL]/ensure: created Notice: Finished catalog run in 19.36 seconds root@zabbix01 ~ #
@bastelfreak Does this still happen?
yes, this issue still exists.
I defined a few templates in my profile:
They will be created on every run: