Merge "Install python3 in Fedora or RedHat > 7"

This commit is contained in:
Zuul 2018-12-12 16:26:37 +00:00 committed by Gerrit Code Review
commit a57b61ca06
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
class cloudkitty::params {
include ::openstacklib::defaults
if ($::os_package_type == 'debian') {
if ($::os_package_type == 'debian') or ($::os['name'] == 'Fedora') or
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
$pyvers = '3'
} else {
$pyvers = ''