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