Skip to content

Commit

Permalink
Create the ssl build directory as part of the CA
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Nov 7, 2023
1 parent a2845bb commit fdb54ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions manifests/ca.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
ensure => absent,
}

file { $ssl_build_dir:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0700',
}

file { $ca_key_password_file:
ensure => file,
content => $ca_key_password,
Expand Down
7 changes: 0 additions & 7 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
Stdlib::Absolutepath $pki_dir = $certs::pki_dir,
String $group = $certs::group,
) {
file { $certs::ssl_build_dir:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0700',
}

file { $pki_dir:
ensure => directory,
owner => 'root',
Expand Down

0 comments on commit fdb54ea

Please sign in to comment.