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,
|
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",
|
||||||
notify => Exec['gitlab_reconfigure'],
|
notify => Exec['gitlab_reconfigure'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/etc/gitlab/ssl/${fqdn}.crt" :
|
file { "/etc/gitlab/ssl/${::fqdn}.crt" :
|
||||||
ensure => file,
|
ensure => file,
|
||||||
source => "${settings::certdir}/${trusted['certname']}.pem",
|
source => "${::settings::certdir}/${::trusted['certname']}.pem",
|
||||||
notify => Exec['gitlab_reconfigure'],
|
notify => Exec['gitlab_reconfigure'],
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'gitlab':
|
class { 'gitlab':
|
||||||
external_url => hiera( 'gms_server_url', "https://${::fqdn}") ,
|
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"],
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -16,9 +16,9 @@ class profile::stash {
|
|||||||
} ->
|
} ->
|
||||||
|
|
||||||
class { 'stash':
|
class { 'stash':
|
||||||
javahome => '/etc/alternatives/java_sdk',
|
javahome => '/etc/alternatives/java_sdk',
|
||||||
#dev.mode grants a 24-hour license for testing
|
#dev.mode grants a 24-hour license for testing
|
||||||
java_opts => '-Datlassian.dev.mode=true',
|
java_opts => '-Datlassian.dev.mode=true',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/opt/puppetlabs/bin/stash_mco.rb':
|
file { '/opt/puppetlabs/bin/stash_mco.rb':
|
||||||
|
Loading…
Reference in New Issue
Block a user