Codebase list puppet-module-gnocchi / ecd6b5a
Expose policy_default_rule The option has been managed by the underlying puppet-oslo module but has not been configurable. This introduces the parameter to customize the option. Change-Id: I010ef8ed814af439621cf944eb62426d7adb5d6f Takashi Kajinami 1 year, 3 months ago
3 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3131 # (Optional) Path to the gnocchi policy.yaml file
3232 # Defaults to /etc/gnocchi/policy.yaml
3333 #
34 # [*policy_default_rule*]
35 # (Optional) Default rule. Enforced when a requested rule is not found.
36 # Defaults to $::os_service_default.
37 #
3438 # [*policy_dirs*]
3539 # (Optional) Path to the gnocchi policy folder
3640 # Defaults to $::os_service_default
4549 $enforce_new_defaults = $::os_service_default,
4650 $policies = {},
4751 $policy_path = '/etc/gnocchi/policy.yaml',
52 $policy_default_rule = $::os_service_default,
4853 $policy_dirs = $::os_service_default,
4954 $purge_config = false,
5055 ) {
8287 enforce_scope => $enforce_scope,
8388 enforce_new_defaults => $enforce_new_defaults,
8489 policy_file => $policy_path,
90 policy_default_rule => $policy_default_rule,
8591 policy_dirs => $policy_dirs,
8692 }
8793
0 ---
1 features:
2 - |
3 The new ``gnocchi::policy::policy_default_rule`` parameter has been added.
88 :enforce_scope => false,
99 :enforce_new_defaults => false,
1010 :policy_path => '/etc/gnocchi/policy.yaml',
11 :policy_default_rule => 'default',
1112 :policy_dirs => '/etc/gnocchi/policy.d',
1213 :policies => {
1314 'context_is_admin' => {
3637 :enforce_scope => false,
3738 :enforce_new_defaults => false,
3839 :policy_file => '/etc/gnocchi/policy.yaml',
40 :policy_default_rule => 'default',
3941 :policy_dirs => '/etc/gnocchi/policy.d',
4042 )
4143 end