diff --git a/metadata.json b/metadata.json index b78f79e..272fe73 100644 --- a/metadata.json +++ b/metadata.json @@ -47,13 +47,15 @@ { "operatingsystem": "RedHat", "operatingsystemrelease": [ - "8" + "8", + "9" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ - "8" + "8", + "9" ] } ] diff --git a/spec/setup_acceptance_node.pp b/spec/setup_acceptance_node.pp index 314fa26..63bba28 100644 --- a/spec/setup_acceptance_node.pp +++ b/spec/setup_acceptance_node.pp @@ -29,6 +29,8 @@ ensure => installed, } -yumrepo { 'powertools': - enabled => true, +if $facts['os']['release']['major'] == '8' { + yumrepo { 'powertools': + enabled => true, + } }