Inherit pyvers from openstacklib::defaults
Change-Id: Icdc346dd1f67ddb46e111ecd4a552bf2cb8380dd
This commit is contained in:
parent
02986fd6a6
commit
7bd2b814aa
@ -4,13 +4,8 @@
|
|||||||
#
|
#
|
||||||
class murano::params {
|
class murano::params {
|
||||||
include ::openstacklib::defaults
|
include ::openstacklib::defaults
|
||||||
|
$pyvers = $::openstacklib::defaults::pyvers
|
||||||
|
|
||||||
if ($::os_package_type == 'debian') or ($::os['name'] == 'Fedora') or
|
|
||||||
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
|
||||||
$pyvers = '3'
|
|
||||||
} else {
|
|
||||||
$pyvers = ''
|
|
||||||
}
|
|
||||||
$dbmanage_command = 'murano-db-manage --config-file /etc/murano/murano.conf upgrade'
|
$dbmanage_command = 'murano-db-manage --config-file /etc/murano/murano.conf upgrade'
|
||||||
$cfapi_dbmanage_command = 'murano-cfapi-db-manage --config-file /etc/murano/murano-cfapi.conf upgrade'
|
$cfapi_dbmanage_command = 'murano-cfapi-db-manage --config-file /etc/murano/murano-cfapi.conf upgrade'
|
||||||
$default_external_network = 'public'
|
$default_external_network = 'public'
|
||||||
|
@ -27,11 +27,7 @@ describe 'murano::client' do
|
|||||||
let :platform_params do
|
let :platform_params do
|
||||||
case facts[:osfamily]
|
case facts[:osfamily]
|
||||||
when 'Debian'
|
when 'Debian'
|
||||||
if facts[:os_package_type] == 'debian'
|
|
||||||
{ :pythonclient_package_name => 'python3-muranoclient' }
|
{ :pythonclient_package_name => 'python3-muranoclient' }
|
||||||
else
|
|
||||||
{ :pythonclient_package_name => 'python-muranoclient' }
|
|
||||||
end
|
|
||||||
when 'RedHat'
|
when 'RedHat'
|
||||||
{ :pythonclient_package_name => 'python-muranoclient' }
|
{ :pythonclient_package_name => 'python-muranoclient' }
|
||||||
end
|
end
|
||||||
|
@ -151,7 +151,7 @@ describe 'murano::dashboard' do
|
|||||||
case facts[:osfamily]
|
case facts[:osfamily]
|
||||||
when 'Debian'
|
when 'Debian'
|
||||||
{
|
{
|
||||||
:dashboard_package_name => 'python-murano-dashboard',
|
:dashboard_package_name => 'python3-murano-dashboard',
|
||||||
:dashboard_config => '/etc/openstack-dashboard/local_settings.py'
|
:dashboard_config => '/etc/openstack-dashboard/local_settings.py'
|
||||||
}
|
}
|
||||||
when 'RedHat'
|
when 'RedHat'
|
||||||
|
Loading…
Reference in New Issue
Block a user