Merge "Set oslo::policy in heat"

This commit is contained in:
Jenkins 2016-04-14 17:35:29 +00:00 committed by Gerrit Code Review
commit 43496a00ae
2 changed files with 2 additions and 0 deletions

View File

@ -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']

View File

@ -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