Fedora repo [1] has python3 packages, start consuming those. [1] http://trunk.rdoproject.org/fedora/current/ Change-Id: I8e2ec45e38275fb0910f5921662cb7cf865edd0a
16 lines
447 B
Puppet
16 lines
447 B
Puppet
# == Class: openstacklib::params
|
|
#
|
|
# These parameters need to be accessed from several locations and
|
|
# should be considered to be constant
|
|
#
|
|
class openstacklib::params {
|
|
|
|
if ($::os_package_type == 'debian') or ($::os['name'] == 'Fedora') or
|
|
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
|
$pyvers = '3'
|
|
} else {
|
|
$pyvers = ''
|
|
}
|
|
$openstackclient_package_name = "python${pyvers}-openstackclient"
|
|
}
|