Use oslo module for policy configuration

Change-Id: I14eca815d87d94278abdba5294bb427a9fe14e31
This commit is contained in:
ZhongShengping
2016-05-06 15:02:16 +08:00
parent c67c2017e1
commit 3e614e4908
2 changed files with 3 additions and 0 deletions

View File

@@ -36,4 +36,6 @@ class mistral::policy (
create_resources('openstacklib::policy::base', $policies)
oslo::policy { 'mistral_config': policy_file => $policy_path }
}

View File

@@ -20,6 +20,7 @@ describe 'mistral::policy' do
:key => 'context_is_admin',
:value => 'foo:bar'
})
is_expected.to contain_mistral_config('oslo_policy/policy_file').with_value('/etc/mistral/policy.json')
end
end