puppet-zabbix icon indicating copy to clipboard operation
puppet-zabbix copied to clipboard

Module forces v5 repos when running on a non windows OS

Open Ph0B1uS opened this issue 2 years ago • 5 comments

https://github.com/voxpupuli/puppet-zabbix/blob/a122643b8c3e60685cc8577ce7f04c5e0360d6dd/manifests/params.pp#L128-L132

This is the offending line which makes it impossible to install any version above 5.X as the repo is managed by the module and only installs v5 rather than adapting to zabbix_version

Ph0B1uS avatar Nov 25 '22 11:11 Ph0B1uS

Hello @Ph0B1uS, if you override zabbix_version it will install the specified version, the code above is just the default value. Can you post some puppet code to understand better your problem?

root-expert avatar Dec 12 '22 12:12 root-expert

As @root-expert said, those are just the defaults and you can choose another version. Closing due to inactivity, but feel free to reopen if it's still an issue.

ekohl avatar Nov 07 '23 11:11 ekohl

It will install the specified version of the zabbix-package but it doesn't seem to affect what repo is set up. It's fine to specify v 6.4.2 but since the repo installed is 5.x by default then all that will do is result in a failed puppet run since there is no zabbix v 6.4.2 in the 5.x repo.

Ph0B1uS avatar Nov 07 '23 12:11 Ph0B1uS

Perhaps you can give some examples of how you're using the module.

ekohl avatar Nov 07 '23 13:11 ekohl

@Ph0B1uS can you add more detailed information? Like your OS version and a manifest example of how you use this module?

Valantin avatar Mar 18 '24 13:03 Valantin