Merge "Fix client_package for RedHat > 7 and Fedora"

This commit is contained in:
Zuul 2019-12-11 15:35:30 +00:00 committed by Gerrit Code Review
commit 9e2c53d165
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ class magnum::params {
# service names
$api_service = 'openstack-magnum-api'
$conductor_service = 'openstack-magnum-conductor'
$client_package = 'python2-magnumclient'
$client_package = "python${pyvers}-magnumclient"
$wsgi_script_path = '/var/www/cgi-bin/magnum'
$wsgi_script_source = '/usr/lib/python2.7/site-packages/magnum/api/app.wsgi'
$wsgi_script_source = '/usr/bin/magnum-api-wsgi'
}
'Debian': {
# package names

View File

@ -27,7 +27,7 @@ describe 'magnum::client' do
when 'Debian'
{ :client_package_name => 'python3-magnumclient' }
when 'RedHat'
{ :client_package_name => 'python2-magnumclient' }
{ :client_package_name => 'python-magnumclient' }
end
end