You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The centos-release-scl package is attempted to be installed, which fails because it does not exist on RHEL 7.
What behaviour did you expect instead
The centos-release-scl package is skipped for RHEL 7.
Output log
Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install centos-release-scl' returned 1: Error: Nothing to do
/Stage[main]/Zabbix::Repo/Package[zabbix-required-scl-repo]/ensure | change from 'purged' to 'latest' failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install centos-release-scl' returned 1: Error: Nothing to do
Any additional information you'd like to impart
Note that this only affects RHEL 7 specifically, the 9.2.0 release works fine on RHEL 8.
It looks like this bug has been around for a while, but it was previously isolated only to the zabbix::web class, so just using zabbix::agent sidestepped the issue. Since #801 the code was moved to the zabbix::repo class, which affects everything using the managed repo on RHEL 7.
It looks like this conditional just needs to check for the OS name to omit RHEL:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
The
centos-release-scl
package is attempted to be installed, which fails because it does not exist on RHEL 7.What behaviour did you expect instead
The
centos-release-scl
package is skipped for RHEL 7.Output log
Any additional information you'd like to impart
Note that this only affects RHEL 7 specifically, the 9.2.0 release works fine on RHEL 8.
It looks like this bug has been around for a while, but it was previously isolated only to the
zabbix::web
class, so just usingzabbix::agent
sidestepped the issue. Since #801 the code was moved to thezabbix::repo
class, which affects everything using the managed repo on RHEL 7.It looks like this conditional just needs to check for the OS name to omit RHEL:
puppet-zabbix/manifests/repo.pp
Line 85 in f4796f1
The text was updated successfully, but these errors were encountered: