548d68cf35
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf
26 lines
579 B
Puppet
26 lines
579 B
Puppet
# == Define: oslo::key_manager
|
|
#
|
|
# Configure key_manager options implemented in the castellan library
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*config*]
|
|
# (Optional) The resource type used to apply configuration parameters.
|
|
# Defaults to $name
|
|
#
|
|
# [*backend*]
|
|
# (Optional) Specify the key manager implementation.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
define oslo::key_manager(
|
|
$config = $name,
|
|
$backend = $facts['os_service_default'],
|
|
) {
|
|
|
|
$key_manager_options = {
|
|
'key_manager/backend' => { value => $backend },
|
|
}
|
|
|
|
create_resources($config, $key_manager_options)
|
|
}
|