Files
puppet-octavia/manifests/config.pp
Takashi Kajinami 083514abb1 Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins
are enabled.

Change-Id: I31c67cce601b6065ff74f3f2163ac5d57b031fd7
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-20 00:12:06 +09:00

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