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

Change-Id: I88fae942282d568abe3d2b458f90d0c0e0dc0809
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-20 13:13:14 +09:00

30 lines
789 B
Puppet

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