Ensure /etc/gitlab/ssl exists before putting certs in it

This commit is contained in:
Nick Walker 2015-09-24 14:59:39 -07:00
parent fe07a85530
commit 0c486e2fcc

View File

@ -1,5 +1,9 @@
class profile::gitlab { class profile::gitlab {
file { ['/etc/gitlab', '/etc/gitlab/ssl'] :
ensure => directory,
}
file { "/etc/gitlab/ssl/${fqdn}.key" : file { "/etc/gitlab/ssl/${fqdn}.key" :
ensure => file, ensure => file,
source => "${settings::privatekeydir}/${trusted['certname']}.pem", source => "${settings::privatekeydir}/${trusted['certname']}.pem",