Jeremy Stanley 5336c6aecc Initial boilerplate files
Basic module framework as output by cookiecutter using the
openstack-infra/puppet-infra-cookiecutter template.

Change-Id: Ibbbc6ba09cf7ce0253b1b8b3a3d6f511bcfd4516
2016-07-18 20:45:00 +00:00

31 lines
926 B
Puppet

# == Class: userstory_dashboard::config
#
# This class is used to manage arbitrary userstory_dashboard configurations.
#
# === Parameters
#
# [*userstory_dashboard_config*]
# (optional) Allow configuration of arbitrary userstory_dashboard configurations.
# The value is an hash of userstory_dashboard_config resources. Example:
# { 'DEFAULT/foo' => { value => 'fooValue'},
# 'DEFAULT/bar' => { value => 'barValue'}
# }
# In yaml format, Example:
# userstory_dashboard_config:
# DEFAULT/foo:
# value: fooValue
# DEFAULT/bar:
# value: barValue
#
# NOTE: The configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.
#
class userstory_dashboard::config (
$userstory_dashboard_config = {},
) {
validate_hash($userstory_dashboard_config)
create_resources('userstory_dashboard_config', $userstory_dashboard_config)
}