Elaborate usage of openstacklib::policy::policies

Change-Id: I5e8f6c377f3de99367261b28a9730779b93d34a5
This commit is contained in:
Takashi Kajinami 2024-04-23 18:55:48 +09:00
parent 805e9843c2
commit b6e251d5fa
1 changed files with 20 additions and 1 deletions

View File

@ -9,7 +9,26 @@
# Defaults to $name
#
# [*policies*]
# (Optional) Set of policies to configure
# (Optional) Set of policies to configure. This parameter accepts a hash
# value and is used to define the openstacklib::policies::base defined-type
# resouces. For example
#
# {
# 'my-context_is_admin' => {
# 'key' => 'context_is_admin',
# 'value' => 'true'
# },
# 'default' => {
# 'value' => 'rule:admin_or_owner'
# }
# }
#
# adds the following rules to the policy file.
#
# context_is_admin: true
# default: rule:admin_or_owner
#
# Defaults to {}
#
# [*file_mode*]
# (Optional) Permission mode for the policy file