37935472f1
Currently puppet modules does not allow one to manage policy.json. This commit aims to create a common resource for people to manage their policies. Change-Id: I1cd7765cdcbddb7e7ad5d720f1efa382641712f2
20 lines
361 B
Puppet
20 lines
361 B
Puppet
# == Class: openstacklib::policies
|
|
#
|
|
# This resource is an helper to call the policy definition
|
|
#
|
|
# == Parameters:
|
|
#
|
|
# [*policies*]
|
|
# Hash of policies one would like to set to specific values
|
|
# hash; optional
|
|
#
|
|
class openstacklib::policy (
|
|
$policies = {},
|
|
) {
|
|
|
|
validate_hash($policies)
|
|
|
|
create_resources('openstacklib::policy::base', $policies)
|
|
|
|
}
|