Switch to puppet-oslo configuring policy

Change-Id: Id6a805508153f03b83967783caf22db72afc8e79
This commit is contained in:
ZhongShengping 2017-02-13 14:32:38 +08:00
parent 48f65430d6
commit c0835195c0
2 changed files with 2 additions and 0 deletions

View File

@ -38,5 +38,6 @@ class designate::policy (
}
create_resources('openstacklib::policy::base', $policies)
oslo::policy { 'designate_config': policy_file => $policy_path }
}

View File

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