Elaborate usage of openstacklib::policy::policies
Change-Id: I5e8f6c377f3de99367261b28a9730779b93d34a5
This commit is contained in:
@@ -9,7 +9,26 @@
|
|||||||
# Defaults to $name
|
# Defaults to $name
|
||||||
#
|
#
|
||||||
# [*policies*]
|
# [*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*]
|
# [*file_mode*]
|
||||||
# (Optional) Permission mode for the policy file
|
# (Optional) Permission mode for the policy file
|
||||||
|
Reference in New Issue
Block a user