diff --git a/manifests/repo.pp b/manifests/repo.pp index 4a767456..41b88b01 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -18,19 +18,9 @@ String[1] $zabbix_version = $zabbix::params::zabbix_version, ) inherits zabbix::params { if $manage_repo { - case $facts['os']['name'] { - 'PSBM': { - $majorrelease = '6' - } - 'Amazon': { - $majorrelease = '6' - } - default: { - $majorrelease = $facts['os']['release']['major'] - } - } case $facts['os']['family'] { 'RedHat': { + $majorrelease = $facts['os']['release']['major'] if (versioncmp(fact('os.release.major'), '7') >= 0 and $zabbix_version == '7.0') { $gpgkey_zabbix = 'https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-B5333005' $gpgkey_nonsupported = 'https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-B5333005' diff --git a/metadata.json b/metadata.json index a6826267..dd7f3905 100644 --- a/metadata.json +++ b/metadata.json @@ -64,13 +64,6 @@ "9" ] }, - { - "operatingsystem": "Amazon", - "operatingsystemrelease": [ - "7", - "8" - ] - }, { "operatingsystem": "OracleLinux", "operatingsystemrelease": [