From f621a8c86f065e252005b8b3e86bb98fcdbfeb34 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sun, 31 Oct 2021 00:11:47 +0200 Subject: [PATCH] params: Also allow Rocky Linux 8. --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 0d47ee9..8d44fb4 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -19,7 +19,7 @@ if (($facts['os']['name'] == 'CentOS' or $facts['os']['name'] == 'Scientific') and $facts['os']['release']['major'] == '7') { $python_pkg_prefix = 'python36' } - elsif ($facts['os']['name'] == 'CentOS' and $facts['os']['release']['major'] == '8') { + elsif (($facts['os']['name'] == 'CentOS' or $facts['os']['name'] == 'Rocky') and $facts['os']['release']['major'] == '8') { $python_pkg_prefix = 'python3' } else {