Install python3-pankoclient for Fedora And RedHat > 7

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

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

Change-Id: Ib21eea52c43b4ff8f899571778bbb4a60b092c87
This commit is contained in:
yatin 2018-12-11 11:52:44 +05:30
parent 9905c4fc3a
commit 5231efb25c

View File

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