From 04df873aa2987302f7b425af620d77329b02ec5a Mon Sep 17 00:00:00 2001 From: yatin Date: Fri, 26 Oct 2018 17:03:44 +0530 Subject: [PATCH] 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 --- manifests/params.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index bdc29221..1ee59e03 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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 = ''