include policy class in api.pp
Like we do in other modules, include keystone::policy class in ::keystone so users can define policies without taking care of the class. Change-Id: I69da4d70fd3720a01ce1e166a5725a9c76d4c126
This commit is contained in:
parent
92cd897e38
commit
a69d3d6018
|
@ -784,6 +784,7 @@ class keystone(
|
|||
|
||||
include ::keystone::deps
|
||||
include ::keystone::logging
|
||||
include ::keystone::policy
|
||||
|
||||
if $service_provider {
|
||||
warning("service_provider is deprecated, does nothing and will be removed in a future release, \
|
||||
|
|
|
@ -131,6 +131,7 @@ describe 'keystone' do
|
|||
shared_examples_for 'core keystone examples' do |param_hash|
|
||||
it { is_expected.to contain_class('keystone::logging') }
|
||||
it { is_expected.to contain_class('keystone::params') }
|
||||
it { is_expected.to contain_class('keystone::policy') }
|
||||
|
||||
it { is_expected.to contain_package('keystone').with(
|
||||
'ensure' => param_hash['package_ensure'],
|
||||
|
|
Loading…
Reference in New Issue