From fdb54ea1bcf7351982fafb2f7a61b4775307fc84 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 7 Nov 2023 13:17:30 +0100 Subject: [PATCH] Create the ssl build directory as part of the CA --- manifests/ca.pp | 7 +++++++ manifests/config.pp | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manifests/ca.pp b/manifests/ca.pp index 0dc04414..7d7e12f4 100644 --- a/manifests/ca.pp +++ b/manifests/ca.pp @@ -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, diff --git a/manifests/config.pp b/manifests/config.pp index eb462e6a..b6f9ae75 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -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',