Skip to content

Commit

Permalink
Set python_pkg_prefix for CentOS 8
Browse files Browse the repository at this point in the history
  • Loading branch information
wiene committed Mar 13, 2020
1 parent db4e0bc commit 17581e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
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') {
$python_pkg_prefix = 'python3'
}
else {
fail("${module_name}: OS ${facts['os']['name']} not supported.")
}
Expand Down

0 comments on commit 17581e0

Please sign in to comment.