Puppet Class: certs::config::deploy

Defined in:
manifests/config/deploy.pp

Summary

Directory structure for certificates deployed into the pki_dir

Overview

Parameters:

  • pki_dir (Stdlib::Absolutepath) (defaults to: $certs::pki_dir)
  • group (String) (defaults to: $certs::group)


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
# File 'manifests/config/deploy.pp', line 3

class certs::config::deploy (
  Stdlib::Absolutepath $pki_dir = $certs::pki_dir,
  String $group = $certs::group,
) {
  file { $pki_dir:
    ensure => directory,
    owner  => 'root',
    group  => $group,
    mode   => '0755',
  }

  file { "${pki_dir}/certs":
    ensure => directory,
    owner  => 'root',
    group  => $group,
    mode   => '0755',
  }

  file { "${pki_dir}/private":
    ensure => directory,
    owner  => 'root',
    group  => $group,
    mode   => '0750',
  }
}