Allow to enable/disable Ironic service

Add support for Ironic service in puppet-tempest.

Change-Id: I93fd4740d09b0c7e926c4dba7a7602f4d295d2ea
This commit is contained in:
Emilien Macchi 2016-01-02 07:28:58 -05:00
parent b2becf3187
commit e9692e3805
2 changed files with 5 additions and 0 deletions

View File

@ -121,6 +121,8 @@
# Defaults to false
# [*trove_available*]
# Defaults to false
# [*ironic_available*]
# Defaults to false
# [*keystone_v2*]
# Defaults to true
# [*keystone_v3*]
@ -220,6 +222,7 @@ class tempest(
$sahara_available = false,
$swift_available = false,
$trove_available = false,
$ironic_available = false,
$keystone_v2 = true,
$keystone_v3 = true,
$auth_version = 'v2',
@ -332,6 +335,7 @@ class tempest(
'service_available/sahara': value => $sahara_available;
'service_available/swift': value => $swift_available;
'service_available/trove': value => $trove_available;
'service_available/ironic': value => $ironic_available;
'whitebox/db_uri': value => $whitebox_db_uri;
'cli/cli_dir': value => $cli_dir;
'oslo_concurrency/lock_path': value => $lock_path;

View File

@ -193,6 +193,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('service_available/murano').with(:value => false)
is_expected.to contain_tempest_config('service_available/swift').with(:value => false)
is_expected.to contain_tempest_config('service_available/trove').with(:value => false)
is_expected.to contain_tempest_config('service_available/ironic').with(:value => false)
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
is_expected.to contain_tempest_config('oslo_concurrency/lock_path').with(:value => '/var/lib/tempest')