Merge "Set oslo::policy in heat"
This commit is contained in:
commit
43496a00ae
@ -32,6 +32,7 @@ class heat::policy (
|
||||
}
|
||||
|
||||
create_resources('openstacklib::policy::base', $policies)
|
||||
oslo::policy { 'heat_config': policy_file => $policy_path }
|
||||
|
||||
Anchor<| title == 'heat::config::start' |>
|
||||
-> Class['heat::policy']
|
||||
|
@ -20,6 +20,7 @@ describe 'heat::policy' do
|
||||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_heat_config('oslo_policy/policy_file').with_value('/etc/heat/policy.json')
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user