Closed Kihltech closed 11 months ago
As far as I see from the code you have to explicitly call zabbix::sender class with zabbix_package_state
set.
I don't think it's being inherited
The default value is set in the params.pp file which is by default present
As far as I see from the code you have to explicitly call zabbix::sender class with
zabbix_package_state
set. I don't think it's being inheritedThe default value is set in the params.pp file which is by default
present
I read it the same way.
Given there has been no other movement on this issue for 2 years, I am going to close it now.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
We are upgrading some clients' from zabbix 4 to zabbix 5 with this code:
What are you seeing
zabbix-agent is updated to the "latest" version as expected. zabbix-sender however, remains on 4.x.
What behaviour did you expect instead
zabbix-sender also upgraded to 5.x
Output log
Adding notice code to the agent.pp and sender.pp file in the module shows the current state:
I expect ensure = latest for zabbix::sender, since it should be inherited from the other zabbix packages, from what I understand of the code:
I have tested with a modified version of sender.pp with explicit ensure => latest, as you can see, and that makes it work as I expect:
Any additional information you'd like to impart