Add Panko support
Allow to deploy & configure Panko plugin for Tempest. Change-Id: I1c2e7a228e2b56a03dc30faec7fee6025af5cf84
This commit is contained in:
parent
b420cb9d05
commit
34f7293e2b
|
@ -116,6 +116,8 @@
|
|||
# Defaults to false
|
||||
# [*gnocchi_available*]
|
||||
# Defaults to false
|
||||
# [*panko_available*]
|
||||
# Defaults to false
|
||||
# [*designate_available*]
|
||||
# Defaults to false
|
||||
# [*horizon_available*]
|
||||
|
@ -286,6 +288,7 @@ class tempest(
|
|||
$ceilometer_available = false,
|
||||
$aodh_available = false,
|
||||
$gnocchi_available = false,
|
||||
$panko_available = false,
|
||||
$designate_available = false,
|
||||
$horizon_available = true,
|
||||
$neutron_available = false,
|
||||
|
@ -474,6 +477,7 @@ class tempest(
|
|||
# https://bugs.launchpad.net/aodh/+bug/1611406
|
||||
'service_available/aodh_plugin': value => $aodh_available;
|
||||
'service_available/gnocchi': value => $gnocchi_available;
|
||||
'service_available/panko': value => $panko_available;
|
||||
'service_available/designate': value => $designate_available;
|
||||
'service_available/horizon': value => $horizon_available;
|
||||
'service_available/neutron': value => $neutron_available;
|
||||
|
@ -544,6 +548,13 @@ class tempest(
|
|||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
if $panko_available and $::tempest::params::python_panko_tests {
|
||||
package { 'python-panko-tests':
|
||||
ensure => present,
|
||||
name => $::tempest::params::python_panko_tests,
|
||||
tag => ['openstack', 'tempest-package'],
|
||||
}
|
||||
}
|
||||
if $heat_available and $::tempest::params::python_heat_tests {
|
||||
package { 'python-heat-tests':
|
||||
ensure => present,
|
||||
|
|
|
@ -36,6 +36,7 @@ class tempest::params {
|
|||
$python_watcher_tests = 'python-watcher-tests-tempest'
|
||||
$python_zaqar_tests = 'python-zaqar-tests'
|
||||
$python_congress_tests = 'python-congress-tests'
|
||||
$python_panko_tests = 'python-panko-tests'
|
||||
}
|
||||
'Debian': {
|
||||
$dev_packages = [
|
||||
|
@ -69,6 +70,7 @@ class tempest::params {
|
|||
$python_watcher_tests = false
|
||||
$python_zaqar_tests = false
|
||||
$python_congress_tests = false
|
||||
$python_panko_tests = false
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
features:
|
||||
- Add Panko Tempest plugin support.
|
|
@ -247,6 +247,7 @@ describe 'tempest' do
|
|||
is_expected.to contain_tempest_config('service_available/aodh').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/aodh_plugin').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/gnocchi').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/panko').with(:value => false)
|
||||
is_expected.to contain_tempest_config('service_available/horizon').with(:value => true)
|
||||
is_expected.to contain_tempest_config('service_available/neutron').with(:value => true)
|
||||
is_expected.to contain_tempest_config('service_available/mistral').with(:value => false)
|
||||
|
|
Loading…
Reference in New Issue