From 96b96f33939862543e62695b1dff14b80d893c33 Mon Sep 17 00:00:00 2001 From: Mike Dorman Date: Mon, 12 Jan 2015 15:22:06 -0700 Subject: [PATCH] Correct docs on format for nova::policy data Correct the format of the $policies parameter to nova::policy. That parameter is passed directly to create_resources, so it needs to be in a format acceptable to that. Just updating docs here as anyone already using the policy classes are likely not using the (incorrectly) documented format, anyway. Change-Id: I774678f0b49ee05b6aee6a5565302377d8eae186 Closes-bug: 1409897 --- manifests/policy.pp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manifests/policy.pp b/manifests/policy.pp index d7ec755b6..48709da7d 100644 --- a/manifests/policy.pp +++ b/manifests/policy.pp @@ -6,7 +6,17 @@ # # [*policies*] # (optional) Set of policies to configure for nova -# Example : { 'nova-context_is_admin' => {'context_is_admin' => 'true'}, 'nova-default' => {'default' => 'rule:admin_or_owner'} } +# Example : +# { +# 'nova-context_is_admin' => { +# 'key' => 'context_is_admin', +# 'value' => 'true' +# }, +# 'nova-default' => { +# 'key' => 'default', +# 'value' => 'rule:admin_or_owner' +# } +# } # Defaults to empty hash. # # [*policy_path*]