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

no parameter named 'interfacedetails'

mergwyn opened this issue · comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.25.1
  • Ruby: 2.5.9
  • Distribution: Ubuntu 20.04
  • Module version: Master branch from repo

How to reproduce (e.g Puppet code you use)

class { 'zabbix::agent':
  manage_resources     => true,
  ....
}

zbx_interface details is not set

What are you seeing

I was trying to create a PR to address a different error when I can across this. I have taken a fork and see the error below. I've scanned the code but am not a ruby programmer and can't see any obvious cause.

What behaviour did you expect instead

No error.

Output log

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'interfacedetails' (file: /etc/puppetlabs/code/environments/zabbix/modules/zabbix/manifests/resources/agent.pp, line: 39) on Zabbix_host[xxxxx]

Any additional information you'd like to impart

For reasons I don't fully understand, restarting the puppet server resolved this issue. Every day is a school day!