puppet-nova/manifests/compute/libvirt/virtlogd/config.pp

35 lines
1023 B
Puppet

# == Class: nova::compute::libvirt::virtlogd::config
#
# DEPRECATED !
# This class is used to manage arbitrary virtlogd configurations.
#
# === Parameters
#
# [*virtlogd_config*]
# (optional) Allow configuration of arbitrary virtlogd configurations.
# The value is an hash of virtlogd_config resources. Example:
# { 'foo' => { value => 'fooValue'},
# 'bar' => { value => 'barValue'}
# }
# In yaml format, Example:
# virtlogd_config:
# foo:
# value: fooValue
# bar:
# value: barValue
#
# NOTE: The configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.
#
class nova::compute::libvirt::virtlogd::config (
$virtlogd_config = {},
) {
warning('The nova::compute::libvirt::virtlogd::config class has been deprecated. \
Use the nova::compute::libvirt::config::virtlogd_config parameter.')
validate_legacy(Hash, 'validate_hash', $virtlogd_config)
create_resources('virtlogd_config', $virtlogd_config)
}