Merge "Add support for [healthcheck] enable_by_file_paths"
This commit is contained in:
3 changed files with 21 additions and 0 deletions
@@ -18,6 +18,7 @@ describe 'oslo::healthcheck' do
is_expected.to contain_keystone_config('healthcheck/ignore_proxied_requests').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('healthcheck/disable_by_file_path').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('healthcheck/disable_by_file_paths').with_value('<SERVICE DEFAULT>')
is_expected.to contain_keystone_config('healthcheck/enable_by_file_paths').with_value('<SERVICE DEFAULT>')
end
end
@@ -32,6 +33,10 @@ describe 'oslo::healthcheck' do
'5000:/etc/keystone/healthcheck/public-disabled',
'35357:/etc/keystone/healthcheck/admin-disabled'
],
:enable_by_file_paths => [
'/etc/keystone/healthcheck/enabled0',
'/etc/keystone/healthcheck/enabled1'
],
:ignore_proxied_requests => false,
}
end
@@ -51,6 +56,9 @@ describe 'oslo::healthcheck' do
is_expected.to contain_keystone_config('healthcheck/disable_by_file_paths').with_value(
'5000:/etc/keystone/healthcheck/public-disabled,35357:/etc/keystone/healthcheck/admin-disabled'
)
is_expected.to contain_keystone_config('healthcheck/enable_by_file_paths').with_value(
'/etc/keystone/healthcheck/enabled0,/etc/keystone/healthcheck/enabled1'
)
end
end
end
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.