puppet-magnum/manifests/certificates.pp
Takashi Kajinami e7200ad4e0 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I60600b673171f0e616d48680001dbc1e17c2a3aa
2023-03-02 11:33:13 +09:00

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;
}
}