
... and also add unit test coverage of the certificates class. Change-Id: Ice02e476895408a9373741b7395f28771e7109ad
29 lines
671 B
Puppet
29 lines
671 B
Puppet
# == Class: magnum::certificates
|
|
#
|
|
# Manages the magnum certificate manager plugin
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*cert_manager_type*]
|
|
# (optional) Certificate Manager plugin.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*storage_path*]
|
|
# (optional) Absolute path of the certificate storage directory.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class magnum::certificates (
|
|
$cert_manager_type = $facts['os_service_default'],
|
|
$storage_path = $facts['os_service_default'],
|
|
) {
|
|
|
|
include magnum::deps
|
|
|
|
magnum_config {
|
|
'certificates/cert_manager_type': value => $cert_manager_type;
|
|
'certificates/storage_path': value => $storage_path;
|
|
}
|
|
|
|
}
|
|
|