Ensure /etc/gitlab/ssl exists before putting certs in it
This commit is contained in:
parent
fe07a85530
commit
0c486e2fcc
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user