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