From ff6f140529b646e09fb66952abfbe6fa7b4cc746 Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Thu, 24 Mar 2016 08:27:17 -0700 Subject: Move gitlab profile out to its own 'profile' module Prior to this commit, there was a gitlab profile in the site dir of this control-repo. After this commit, the profile has been moved to it's own repo where it can be used more generally and not tightly coupled to this repository. As a result, the gitlab role has been removed from this repository as well. --- site/profile/manifests/gitlab.pp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 site/profile/manifests/gitlab.pp (limited to 'site/profile/manifests') diff --git a/site/profile/manifests/gitlab.pp b/site/profile/manifests/gitlab.pp deleted file mode 100644 index 72c57e5..0000000 --- a/site/profile/manifests/gitlab.pp +++ /dev/null @@ -1,24 +0,0 @@ -class profile::gitlab { - - file { ['/etc/gitlab', '/etc/gitlab/ssl'] : - ensure => directory, - } - - file { "/etc/gitlab/ssl/${::fqdn}.key" : - ensure => file, - source => "${::settings::privatekeydir}/${::trusted['certname']}.pem", - notify => Exec['gitlab_reconfigure'], - } - - file { "/etc/gitlab/ssl/${::fqdn}.crt" : - ensure => file, - 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"], - } - -} -- cgit v1.2.3