Fix default murano client package name error for RedHat platforms

when install murano client package in RedHat platforms, the default
murano client package name: openstack-python-muranoclient is not found.
so the client package name should be changed to python-muranoclient.

Change-Id: Ib57998280762f9d6a9cf615bd0d5b3f558a39258
Closes-Bug: #1644699
(cherry picked from commit 122498f1bf)
This commit is contained in:
Xing Zhou 2016-11-25 12:41:37 +08:00
parent 9abc63983d
commit 11c2ebc3b8
3 changed files with 16 additions and 9 deletions

View File

@ -14,7 +14,7 @@ class murano::params {
$cfapi_package_name = 'openstack-murano-cfapi'
$common_package_name = 'openstack-murano-common'
$engine_package_name = 'openstack-murano-engine'
$pythonclient_package_name = 'openstack-python-muranoclient'
$pythonclient_package_name = 'python-muranoclient'
$dashboard_package_name = 'openstack-murano-dashboard'
# service names
$api_service_name = 'murano-api'

View File

@ -0,0 +1,6 @@
---
fixes:
- Fixes `bug 1644699
<https://bugs.launchpad.net/puppet-murano/+bug/1644699>`__ so
we're able to correctly install murano client package in RedHat
platforms.

View File

@ -9,14 +9,15 @@ describe 'murano::client' do
)}
end
context 'on Debian platforms' do
let :facts do
OSDefaults.get_facts({
:osfamily => 'Debian',
:operatingsystem => 'Debian',
})
end
on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let (:facts) do
facts.merge!(OSDefaults.get_facts())
end
it_configures 'murano-client'
it_configures 'murano-client'
end
end
end