diff --git a/manifests/init.pp b/manifests/init.pp index d27a681f3..aee785cb3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -499,7 +499,6 @@ } # when repos_ensure is true, we configure externel repos - # CentOS 7 doesn't contain rabbitmq. It's only in EPEL. if $repos_ensure { case $facts['os']['family'] { 'RedHat': { @@ -513,13 +512,6 @@ default: { } } - } elsif ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7') and $require_epel { - # On later CentOS / RHEL systems, this is not useful since EPEL doesn't - # have the rabbitmq-server package anyway. - # - # Once support for 7 is dropped, we should remove this code and the - # parameter - require epel } contain rabbitmq::install diff --git a/metadata.json b/metadata.json index 86025a992..8ade42fcf 100644 --- a/metadata.json +++ b/metadata.json @@ -11,13 +11,13 @@ { "operatingsystem": "RedHat", "operatingsystemrelease": [ - "7" + "9" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ - "7" + "9" ] }, {