We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525deef commit 4a55998Copy full SHA for 4a55998
manifests/init.pp
@@ -0,0 +1,24 @@
1
+#gitlab profile based on vshn/gitlab module
2
+class rampup_profile_gitlab {
3
+
4
+ file { ['/etc/gitlab', '/etc/gitlab/ssl'] :
5
+ ensure => directory,
6
+ }
7
8
+ file { "/etc/gitlab/ssl/${::fqdn}.key" :
9
+ ensure => file,
10
+ source => "${::settings::privatekeydir}/${::trusted['certname']}.pem",
11
+ notify => Exec['gitlab_reconfigure'],
12
13
14
+ file { "/etc/gitlab/ssl/${::fqdn}.crt" :
15
16
+ source => "${::settings::certdir}/${::trusted['certname']}.pem",
17
18
19
20
+ class { 'gitlab':
21
+ external_url => hiera( 'gms_server_url', "https://${::fqdn}") ,
22
+ require => File["/etc/gitlab/ssl/${::fqdn}.key", "/etc/gitlab/ssl/${::fqdn}.key"],
23
24
+}
0 commit comments