Manage policy configuration file
This change includes the aodh_config configuration of the policy file in the aodh::policy class. Change-Id: I1f13db69165dce3d8774ca14b43e2fa095ee881f Depends-On: I4e24d49ed7e84a3b5cb991e912ed320c393569e4
This commit is contained in:
parent
2009eef0f1
commit
0cc0bde463
|
@ -35,4 +35,5 @@ class aodh::policy (
|
|||
}
|
||||
|
||||
create_resources('openstacklib::policy::base', $policies)
|
||||
oslo::policy { 'aodh_config': policy_file => $policy_path }
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ describe 'aodh::policy' do
|
|||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_aodh_config('oslo_policy/policy_file').with_value('/etc/aodh/policy.json')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue