Alexey Deryugin bc0362b3df Initial module implementation
- Add parameters class
 - Add openstack policy class
 - Add database sync class
 - Add basic murano class
 - Add tests

Change-Id: If34c3b12afb2fe7a64b24a8660d6e8d1806bb8fd
Closes-Bug: #1475628
Related-Bug: #1496397
2015-09-16 17:45:22 +03:00

29 lines
544 B
Puppet

# == Class: murano::policy
#
# Configure the murano policies
#
# === Parameters
#
# [*policies*]
# (optional) Set of policies to configure for murano
# Defaults to empty hash.
#
# [*policy_path*]
# (optional) Path to the murano policy.json file
# Defaults to /etc/murano/policy.json
#
class murano::policy (
$policies = {},
$policy_path = '/etc/murano/policy.json',
) {
validate_hash($policies)
Openstacklib::Policy::Base {
file_path => $policy_path,
}
create_resources('openstacklib::policy::base', $policies)
}