Merge "Designate: Manage [producer_task:*] parameters"

This commit is contained in:
Zuul 2022-03-15 08:32:40 +00:00 committed by Gerrit Code Review
commit c6149ed851
2 changed files with 20 additions and 0 deletions

View File

@ -51,6 +51,11 @@ class tripleo::profile::base::designate::producer (
if $step >= 4 {
include designate::producer
include designate::producer_task::delayed_notify
include designate::producer_task::periodic_exists
include designate::producer_task::periodic_secondary_refresh
include designate::producer_task::worker_periodic_recovery
include designate::producer_task::zone_purge
if $redis_vip {
class { 'designate::coordination':
backend_url => join(['redis://:', $designate_redis_password, '@', normalize_ip_for_uri($redis_vip), ':6379/', $tls_query_param])

View File

@ -41,6 +41,11 @@ eos
is_expected.to contain_class('tripleo::profile::base::designate')
is_expected.to_not contain_class('designate::coordination')
is_expected.to_not contain_class('designate::producer')
is_expected.to_not contain_class('designate::producer_task::delayed_notify')
is_expected.to_not contain_class('designate::producer_task::periodic_exists')
is_expected.to_not contain_class('designate::producer_task::periodic_secondary_refresh')
is_expected.to_not contain_class('designate::producer_task::worker_periodic_recovery')
is_expected.to_not contain_class('designate::producer_task::zone_purge')
}
end
@ -58,6 +63,11 @@ eos
:backend_url => 'redis://:password@127.0.0.1:6379/',
)
is_expected.to contain_class('designate::producer')
is_expected.to contain_class('designate::producer_task::delayed_notify')
is_expected.to contain_class('designate::producer_task::periodic_exists')
is_expected.to contain_class('designate::producer_task::periodic_secondary_refresh')
is_expected.to contain_class('designate::producer_task::worker_periodic_recovery')
is_expected.to contain_class('designate::producer_task::zone_purge')
}
end
@ -73,6 +83,11 @@ eos
is_expected.to contain_class('tripleo::profile::base::designate')
is_expected.to_not contain_class('designate::coordination')
is_expected.to contain_class('designate::producer')
is_expected.to contain_class('designate::producer_task::delayed_notify')
is_expected.to contain_class('designate::producer_task::periodic_exists')
is_expected.to contain_class('designate::producer_task::periodic_secondary_refresh')
is_expected.to contain_class('designate::producer_task::worker_periodic_recovery')
is_expected.to contain_class('designate::producer_task::zone_purge')
}
end
end