Install python3 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: I563369d68ec5107fbf7eaabaa5f238d45078c246
This commit is contained in:
parent
d556aace26
commit
7a1ede25f9
|
@ -5,7 +5,8 @@
|
||||||
class trove::params {
|
class trove::params {
|
||||||
include ::openstacklib::defaults
|
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'
|
$pyvers = '3'
|
||||||
} else {
|
} else {
|
||||||
$pyvers = ''
|
$pyvers = ''
|
||||||
|
|
Loading…
Reference in New Issue