e7200ad4e0
... because the latest lint no longer allows usage of legacy facts and top scope fact. Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
23 lines
442 B
Puppet
23 lines
442 B
Puppet
# == Class: magnum::certificates
|
|
#
|
|
# Manages the magnum certificate manager plugin
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*cert_manager_type*]
|
|
# (optional) Certificate Manager plugin. Defaults to barbican. (string value)
|
|
# Defaults to 'barbican'
|
|
#
|
|
class magnum::certificates (
|
|
$cert_manager_type = $facts['os_service_default'],
|
|
) {
|
|
|
|
include magnum::deps
|
|
|
|
magnum_config { 'certificates/cert_manager_type':
|
|
value => $cert_manager_type;
|
|
}
|
|
|
|
}
|
|
|