Commit 7649f7e2 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'fix-26' into 'master'

Fix apt-get update on Debian-based systems

See merge request gitlab-org/cookbook-omnibus-gitlab!57
parents e4eb4f4a 998c2ae8
# 0.3.23
- Fix apt-get update on Debian-based systems
# 0.3.16
- Allow disabling all prometheus services with prometheus_monitoring option
......
......@@ -4,7 +4,7 @@ maintainer_email 'marin@gitlab.com'
license 'All rights reserved'
description 'Installs/Configures GitLab using omnibus-gitlab'
long_description 'Installs/Configures GitLab using omnibus-gitlab'
version '0.3.22'
version '0.3.23'
issues_url 'https://gitlab.com/gitlab-org/cookbook-omnibus-gitlab/issues'
source_url 'https://gitlab.com/gitlab-org/cookbook-omnibus-gitlab/'
......
......@@ -21,6 +21,8 @@ package 'curl'
case node['platform_family']
when 'debian'
include_recipe 'apt::default'
execute "add #{pkg_url}/#{pkg_repo} apt repo" do
command "curl #{pkg_url}/install/repositories/#{pkg_repo}/script.deb.sh | bash"
creates "/etc/apt/sources.list.d/#{pkg_repo.sub('/', '_')}.list"
......
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