Skip to content

Commit

Permalink
params: Also allow Rocky Linux 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
olifre committed Oct 30, 2021
1 parent 4f6da6b commit f621a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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') {

This comment has been minimized.

Copy link
@olifre

olifre Oct 30, 2021

Author Member

@wiene I hit this when migrating our node to Rocky 8 (and pushed to master to proceed with the migration). Do we want to change to match the RedHat family here for better portability?

This comment has been minimized.

Copy link
@wiene

wiene Oct 31, 2021

Member

@olifre Thanks for pointing to this issue. I opened issue #16 to track it.

$python_pkg_prefix = 'python3'
}
else {
Expand Down

0 comments on commit f621a8c

Please sign in to comment.