Commit 4dcc7781 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'pin-version-of-gitlab-for-db-and-redis' into 'master'

Pin version of gitlab for db and redis

See merge request !49
parents ab9285a6 c40ad78e
......@@ -19,6 +19,9 @@ See
- `node['omnibus-gitlab']['package']['repo']` defaults to `gitlab/gitlab-ce`. Use `gitlab/gitlab-ee` for GitLab Enterprise Edition
- `node['omnibus-gitlab']['package']['name']` defaults to `gitlab-ce`. Use `gitlab-ee` for GitLab Enterprise Edition
- `node['omnibus-gitlab']['skip_auto_migrations']` defaults to `false`. This option will create a file (`/etc/gitlab/skip-auto-migrations`) which will tell the package not to run `gitlab-ctl reconfigure` as well as telling the chef recipe to skip the `gitlab-ctl reconfigure` step. This is useful when dealing with DB/Redis servers which should not be restarted automatically.
For more available attributes see `attributes/default.rb`.
### Examples
......@@ -4,7 +4,7 @@ maintainer_email ''
license 'All rights reserved'
description 'Installs/Configures GitLab using omnibus-gitlab'
long_description 'Installs/Configures GitLab using omnibus-gitlab'
version '0.3.17'
version '0.3.18'
issues_url ''
source_url ''
......@@ -128,6 +128,7 @@ end
# Run gitlab-ctl reconfigure if /etc/gitlab/gitlab.rb changed
execute 'gitlab-ctl reconfigure' do
action :nothing
not_if { node['omnibus-gitlab']['skip_auto_migrations'] }
# Reload NGINX if the SSL certificate or key has changed
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