3da70b1bbd
These were leftovers from the nova extraction that was wrong and should not be there. Change-Id: Ia4ded54763eecc0f2fc07fdfa92e9cc15dccd09b
32 lines
867 B
Puppet
32 lines
867 B
Puppet
# == Class: placement::config
|
|
#
|
|
# This class is used to manage arbitrary placement configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*placement_config*]
|
|
# (Optional) Allow configuration of arbitrary Placement configurations.
|
|
# The value is an hash of placement_config resources. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
# In yaml format, Example:
|
|
# placement_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 placement::config (
|
|
$placement_config = {},
|
|
) {
|
|
|
|
include placement::deps
|
|
|
|
validate_legacy(Hash, 'validate_hash', $placement_config)
|
|
create_resources('placement_config', $placement_config)
|
|
}
|