From 5231efb25cc0a82cfddfab40a889ebca99b3bd2d Mon Sep 17 00:00:00 2001 From: yatin Date: Tue, 11 Dec 2018 11:52:44 +0530 Subject: [PATCH] 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 --- manifests/params.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 15154f8..a0df1bb 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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 = ''