fixing a bunch of puppet lint warnings
This commit is contained in:
parent
3149d9707f
commit
e5be3e2ddd
@ -4,21 +4,21 @@ class profile::gitlab {
|
||||
ensure => directory,
|
||||
}
|
||||
|
||||
file { "/etc/gitlab/ssl/${fqdn}.key" :
|
||||
file { "/etc/gitlab/ssl/${::fqdn}.key" :
|
||||
ensure => file,
|
||||
source => "${settings::privatekeydir}/${trusted['certname']}.pem",
|
||||
source => "${::settings::privatekeydir}/${::trusted['certname']}.pem",
|
||||
notify => Exec['gitlab_reconfigure'],
|
||||
}
|
||||
|
||||
file { "/etc/gitlab/ssl/${fqdn}.crt" :
|
||||
file { "/etc/gitlab/ssl/${::fqdn}.crt" :
|
||||
ensure => file,
|
||||
source => "${settings::certdir}/${trusted['certname']}.pem",
|
||||
source => "${::settings::certdir}/${::trusted['certname']}.pem",
|
||||
notify => Exec['gitlab_reconfigure'],
|
||||
}
|
||||
|
||||
class { 'gitlab':
|
||||
external_url => hiera( 'gms_server_url', "https://${::fqdn}") ,
|
||||
require => File["/etc/gitlab/ssl/${fqdn}.key", "/etc/gitlab/ssl/${fqdn}.key"],
|
||||
require => File["/etc/gitlab/ssl/${::fqdn}.key", "/etc/gitlab/ssl/${::fqdn}.key"],
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user