policy.json: Allow one to manage them from the puppet module
This commit allow a deployer to manage the policies via this module It relies on augeas to change only the policy needed. The init takes a hash of policies and apply them. Change-Id: I6ee27a1c4c26c73f5954e6462097fb5ed4dbb7ea
This commit is contained in:
@@ -79,6 +79,7 @@ describe 'glance::api' do
|
||||
end
|
||||
|
||||
it { should contain_class 'glance' }
|
||||
it { should contain_class 'glance::policy' }
|
||||
|
||||
it { should contain_service('glance-api').with(
|
||||
'ensure' => (param_hash[:manage_service] && param_hash[:enabled]) ? 'running': 'stopped',
|
||||
|
||||
Reference in New Issue
Block a user