puppet-nova/manifests/key_manager.pp
Takashi Kajinami e500bfe5e0 Create independent classes for key managers
This change introduces the new independent classes to manage options
for key managers, which are implemented in the castellan library.

Depends-on: https://review.opendev.org/772676
Change-Id: I29a4d7698c52383be1e0ff1fdb6d350e44b4f151
2021-05-08 23:34:15 +09:00

23 lines
472 B
Puppet

# == Class: nova::key_manager
#
# Setup and configure Key Manager options
#
# === Parameters
#
# [*backend*]
# (Optional) Specify the key manager implementation.
# Defaults to 'nova.keymgr.conf_key_mgr.ConfKeyManager'
#
class nova::key_manager (
$backend = 'nova.keymgr.conf_key_mgr.ConfKeyManager',
) {
include nova::deps
$backend_real = pick($nova::compute::keymgr_backend, $backend)
oslo::key_manager { 'nova_config':
backend => $backend_real,
}
}