From 9d86a14fa555e87e555aa43bc09160055d2821d4 Mon Sep 17 00:00:00 2001 From: Quique Llorente Date: Tue, 6 Nov 2018 17:31:19 +0100 Subject: [PATCH] Install python3-barbican 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: I393a2d7d814807b367f494ab3478eb20ee31cc51 --- manifests/params.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 23c118c5..c2ef2e0f 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -5,7 +5,8 @@ class barbican::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 = ''