puppet-zaqar/manifests/config.pp
Takashi Kajinami 6d2b3f4d04 replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I0808e8a311121e281b20f7493ae6bde6ef0a6929
2023-06-20 13:31:56 +09:00

31 lines
768 B
Puppet

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