|
|
|
@ -32,11 +32,16 @@
|
|
|
|
|
# (Optional) Path to the barbican policy.yaml file |
|
|
|
|
# Defaults to /etc/barbican/policy.yaml |
|
|
|
|
# |
|
|
|
|
# [*policy_dirs*] |
|
|
|
|
# (Optional) Path to the keystone policy folder |
|
|
|
|
# Defaults to $::os_service_default |
|
|
|
|
# |
|
|
|
|
class barbican::policy ( |
|
|
|
|
$enforce_scope = $::os_service_default, |
|
|
|
|
$enforce_new_defaults = $::os_service_default, |
|
|
|
|
$policies = {}, |
|
|
|
|
$policy_path = '/etc/barbican/policy.yaml', |
|
|
|
|
$policy_dirs = $::os_service_default, |
|
|
|
|
) { |
|
|
|
|
|
|
|
|
|
include barbican::deps |
|
|
|
@ -56,7 +61,8 @@ class barbican::policy (
|
|
|
|
|
oslo::policy { 'barbican_config': |
|
|
|
|
enforce_scope => $enforce_scope, |
|
|
|
|
enforce_new_defaults => $enforce_new_defaults, |
|
|
|
|
policy_file => $policy_path |
|
|
|
|
policy_file => $policy_path, |
|
|
|
|
policy_dirs => $policy_dirs, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|