Install python3-heatclient in Fedora or RedHat > 7

Fedora repo [1] has python3 packages, start consuming those.

[1] http://trunk.rdoproject.org/fedora/puppet-passed-ci/

Change-Id: If89eabfb81f5347b6343ecbb3378ba19fb470603
This commit is contained in:
yatin 2018-10-26 17:03:44 +05:30
parent 432c51e52a
commit 04df873aa2
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
class heat::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 = ''