File: certificates.pp

package info (click to toggle)
puppet-module-magnum 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,180 kB
  • sloc: ruby: 2,768; python: 38; makefile: 21; sh: 10
file content (28 lines) | stat: -rw-r--r-- 671 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# == 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;
  }

}