Emilien Macchi 481dde1725 puppet-octavia: Initial commit
This is the initial commit for puppet-octavia.
It has been automatically generated using cookiecutter[1] and msync[2]

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: Ieeb5f5c94f093c163fd15ff80672b1f0e4a66ba0
2016-03-09 18:09:58 -05:00

31 lines
794 B
Puppet

# == Class: octavia::config
#
# This class is used to manage arbitrary octavia configurations.
#
# === Parameters
#
# [*octavia_config*]
# (optional) Allow configuration of arbitrary octavia configurations.
# The value is an hash of octavia_config resources. Example:
# { 'DEFAULT/foo' => { value => 'fooValue'},
# 'DEFAULT/bar' => { value => 'barValue'}
# }
# In yaml format, Example:
# octavia_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 octavia::config (
$octavia_config = {},
) {
validate_hash($octavia_config)
create_resources('octavia_config', $octavia_config)
}