voxpupuli / puppet-zabbix

Puppet module for creating and maintaining zabbix components with puppet.
https://forge.puppet.com/puppet/zabbix
Apache License 2.0
79 stars 228 forks source link

Error when parameter zabbix::web::manage_resources: true #845

Open LeHigh75 opened 1 year ago

LeHigh75 commented 1 year ago

Affected Puppet, Ruby, OS and module versions/distributions

What are you seeing

When puppet runs, i an error only if zabbix::web::manage_resources: true is specified (it runs perfectly when zabbix::web::manage_resources: false) :

What behaviour did you expect instead

Zabbix server managing exported resources

Output log

Info: Applying configuration version '51d3094983677aa620c8674aa44b503a3a64971d' Error: Could not prefetch zabbix_host provider 'ruby': undefined method []' for nil:NilClass Error: Failed to apply catalog: undefined method[]' for nil:NilClass

Any additional information you'd like to impart

Zabbix 6.0.9 My PuppetDB is running, storeconfigs activated