1 # == Class: cinder::policy
3 # Configure the cinder policies
8 # (optional) Set of policies to configure for cinder
9 # Example : { 'cinder-context_is_admin' => {'context_is_admin' => 'true'}, 'cinder-default' => {'default' => 'rule:admin_or_owner'} }
10 # Defaults to empty hash.
13 # (optional) Path to the cinder policy.json file
14 # Defaults to /etc/cinder/policy.json
16 class cinder::policy (
18 $policy_path = '/etc/cinder/policy.json',
21 validate_hash($policies)
23 Openstacklib::Policy::Base {
24 file_path => $policy_path,
27 create_resources('openstacklib::policy::base', $policies)