From 0c486e2fccf762f0d1bb6aa8a800f1e67cb8e510 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Thu, 24 Sep 2015 14:59:39 -0700 Subject: [PATCH] Ensure /etc/gitlab/ssl exists before putting certs in it --- site/profile/manifests/gitlab.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/profile/manifests/gitlab.pp b/site/profile/manifests/gitlab.pp index f4b5bfe..c3e5f82 100644 --- a/site/profile/manifests/gitlab.pp +++ b/site/profile/manifests/gitlab.pp @@ -1,5 +1,9 @@ class profile::gitlab { + file { ['/etc/gitlab', '/etc/gitlab/ssl'] : + ensure => directory, + } + file { "/etc/gitlab/ssl/${fqdn}.key" : ensure => file, source => "${settings::privatekeydir}/${trusted['certname']}.pem",