File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 1818 String[1] $zabbix_version = $zabbix::params::zabbix_version,
1919) inherits zabbix::params {
2020 if $manage_repo {
21- case $facts [' os' ][' name' ] {
22- ' PSBM' : {
23- $majorrelease = ' 6'
24- }
25- ' Amazon' : {
26- $majorrelease = ' 6'
27- }
28- default: {
29- $majorrelease = $facts [' os' ][' release' ][' major' ]
30- }
31- }
3221 case $facts [' os' ][' family' ] {
3322 ' RedHat' : {
23+ $majorrelease = $facts [' os' ][' release' ][' major' ]
3424 if (versioncmp(fact(' os.release.major' ), ' 7' ) >= 0 and $zabbix_version == ' 7.0' ) {
3525 $gpgkey_zabbix = ' https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-B5333005'
3626 $gpgkey_nonsupported = ' https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-B5333005'
Original file line number Diff line number Diff line change 6464 " 9"
6565 ]
6666 },
67- {
68- "operatingsystem" : " Amazon" ,
69- "operatingsystemrelease" : [
70- " 7" ,
71- " 8"
72- ]
73- },
7467 {
7568 "operatingsystem" : " OracleLinux" ,
7669 "operatingsystemrelease" : [
You can’t perform that action at this time.
0 commit comments