diff --git a/manifests/init.pp b/manifests/init.pp index 539364d1..6e9012bd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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, diff --git a/manifests/params.pp b/manifests/params.pp index c58308cc..aec98ced 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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}, \ diff --git a/releasenotes/notes/panko-80f401254e26f83c.yaml b/releasenotes/notes/panko-80f401254e26f83c.yaml new file mode 100644 index 00000000..72165124 --- /dev/null +++ b/releasenotes/notes/panko-80f401254e26f83c.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add Panko Tempest plugin support. diff --git a/spec/classes/tempest_init_spec.rb b/spec/classes/tempest_init_spec.rb index 4a69c507..9fd5c085 100644 --- a/spec/classes/tempest_init_spec.rb +++ b/spec/classes/tempest_init_spec.rb @@ -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)