Use oslo module for policy configuration

Change-Id: I4ee31c89df82d1d18dddc5c391b8ba2f8a6989bf
changes/47/313247/1
ZhongShengping 7 years ago
parent 3b80104354
commit ba159e362d

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

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

Loading…
Cancel
Save