Debian is using Python 3 for the client
Use python3-novaclient instead of python-novaclient under Debian. Change-Id: I01f366712e4e0449b160e8704f9ac4030512347d
This commit is contained in:
parent
dffcb0faa7
commit
2c1a49578c
|
@ -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'],
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue