puppet-cinder/manifests/key_manager.pp
Takashi Kajinami 6dc69ab67f 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: I5fc9b4e2db56daf998294245465e8c5fcbd8a061
2021-05-11 12:35:28 +09:00

23 lines
433 B
Puppet

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