Skip to content

Commit

Permalink
Remove Amazon from supported OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Valantin committed Jun 27, 2024
1 parent 239fb49 commit 9994d7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
12 changes: 1 addition & 11 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
7 changes: 0 additions & 7 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@
"9"
]
},
{
"operatingsystem": "Amazon",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [
Expand Down

0 comments on commit 9994d7d

Please sign in to comment.