puppet-octavia/manifests/config.pp
Tobias Urdin 7a1aaa80ce Convert all class usage to relative names
Change-Id: I759a4451982759ed3435d351b618b1b77cd96b11
2019-12-08 23:15:17 +01:00

33 lines
844 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 = {},
) {
include octavia::deps
validate_legacy(Hash, 'validate_hash', $octavia_config)
create_resources('octavia_config', $octavia_config)
}