1 # == Class: keystone::policy
3 # Configure the keystone policies
8 # (optional) Set of policies to configure for keystone
11 # 'keystone-context_is_admin' => {
12 # 'key' => 'context_is_admin',
15 # 'keystone-default' => {
17 # 'value' => 'rule:admin_or_owner'
20 # Defaults to empty hash.
23 # (optional) Path to the nova policy.json file
24 # Defaults to /etc/keystone/policy.json
26 class keystone::policy (
28 $policy_path = '/etc/keystone/policy.json',
31 validate_hash($policies)
33 Openstacklib::Policy::Base {
34 file_path => $policy_path,
37 create_resources('openstacklib::policy::base', $policies)