Merge "Debian is using Python 3 for the client"

This commit is contained in:
Zuul 2018-05-09 21:33:15 +00:00 committed by Gerrit Code Review
commit 86984823f8
2 changed files with 4 additions and 0 deletions

View File

@ -12,9 +12,11 @@ class nova::client(
$ensure = 'present'
) {
include ::nova::deps
include ::nova::params
package { 'python-novaclient':
ensure => $ensure,
name => $::nova::params::client_package,
tag => ['openstack', 'nova-support-package'],
}

View File

@ -13,6 +13,7 @@ class nova::params {
case $::osfamily {
'RedHat': {
# package names
$client_package = 'python-novaclient'
$api_package_name = 'openstack-nova-api'
$placement_package_name = 'openstack-nova-placement-api'
$cells_package_name = 'openstack-nova-cells'
@ -85,6 +86,7 @@ class nova::params {
}
'Debian': {
# package names
$client_package = "python${pyvers}-novaclient"
$api_package_name = 'nova-api'
$placement_package_name = 'nova-placement-api'
$cells_package_name = 'nova-cells'