Commit 22f98280 authored by Jens Langhammer's avatar Jens Langhammer

fix apt repo path

parent 3e15e8f5
Pipeline #3218 failed with stage
in 38 seconds
......@@ -5,8 +5,13 @@ class beryjuorg_gitlab::repo (
Enum['ce', 'runner'] $suite = 'ce',
) {
if $suite == 'ce' {
$path = 'gitlab'
} else {
$path = 'runner'
}
apt::source { "gitlab-${suite}":
location => "http://packages.gitlab.com/${suite}/gitlab-${suite}/debian/",
location => "http://packages.gitlab.com/${path}/gitlab-${suite}/debian/",
release => $::lsbdistcodename,
repos => 'main',
key => {
......
......@@ -41,12 +41,14 @@ class beryjuorg_gitlab::runner (
}
file { '/etc/cron.d/gitlab-cleanup':
ensure => 'absent'
source => 'puppet:///modules/beryjuorg_gitlab/cleanup.cron',
owner => 'root',
group => 'root',
mode => '0755',
}
->file { '/opt/gitlab-ci-cleanup.sh':
ensure => 'absent',
source => 'puppet:///modules/beryjuorg_gitlab/cleanup.sh',
owner => 'root',
group => 'root',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment