Merge "Add per module policy service refresh"
This commit is contained in:
commit
3be4016460
@ -39,7 +39,7 @@ class keystone::deps {
|
|||||||
|
|
||||||
# policy config should occur in the config block also.
|
# policy config should occur in the config block also.
|
||||||
Anchor['keystone::config::begin']
|
Anchor['keystone::config::begin']
|
||||||
-> Openstacklib::Policy<||>
|
-> Openstacklib::Policy<| tag == 'keystone' |>
|
||||||
~> Anchor['keystone::config::end']
|
~> Anchor['keystone::config::end']
|
||||||
|
|
||||||
# Support packages need to be installed in the install phase, but we don't
|
# Support packages need to be installed in the install phase, but we don't
|
||||||
|
@ -65,6 +65,7 @@ class keystone::policy (
|
|||||||
file_group => $::keystone::params::group,
|
file_group => $::keystone::params::group,
|
||||||
file_format => 'yaml',
|
file_format => 'yaml',
|
||||||
purge_config => $purge_config,
|
purge_config => $purge_config,
|
||||||
|
tag => 'keystone',
|
||||||
}
|
}
|
||||||
|
|
||||||
create_resources('openstacklib::policy', { $policy_path => $policy_parameters })
|
create_resources('openstacklib::policy', { $policy_path => $policy_parameters })
|
||||||
|
@ -33,6 +33,7 @@ describe 'keystone::policy' do
|
|||||||
:file_group => 'keystone',
|
:file_group => 'keystone',
|
||||||
:file_format => 'yaml',
|
:file_format => 'yaml',
|
||||||
:purge_config => false,
|
:purge_config => false,
|
||||||
|
:tag => 'keystone',
|
||||||
)
|
)
|
||||||
is_expected.to contain_oslo__policy('keystone_config').with(
|
is_expected.to contain_oslo__policy('keystone_config').with(
|
||||||
:enforce_scope => false,
|
:enforce_scope => false,
|
||||||
@ -63,6 +64,7 @@ describe 'keystone::policy' do
|
|||||||
:file_group => 'keystone',
|
:file_group => 'keystone',
|
||||||
:file_format => 'yaml',
|
:file_format => 'yaml',
|
||||||
:purge_config => true,
|
:purge_config => true,
|
||||||
|
:tag => 'keystone',
|
||||||
)
|
)
|
||||||
is_expected.to contain_oslo__policy('keystone_config').with(
|
is_expected.to contain_oslo__policy('keystone_config').with(
|
||||||
:enforce_scope => false,
|
:enforce_scope => false,
|
||||||
|
Loading…
Reference in New Issue
Block a user