Commit d0220b88 authored by Ilya Frolov's avatar Ilya Frolov

add some comments and add new attribute

parent 05c4f1a8
......@@ -35,7 +35,10 @@ default['omnibus-gitlab']['ssl']['registry_certificate'] = ''
default['omnibus-gitlab']['ssl']['registry_private_key'] = ''
# dont trigger reconfigue in the package
# NOTE: first being phased out, should be removed after all roles are moved to new one
# see https://gitlab.com/gitlab-com/infrastructure/issues/4073 for details
default['omnibus-gitlab']['skip_auto_migrations'] = false
default['omnibus-gitlab']['skip_auto_reconfigure'] = false
# dont trigger reconfigue via chef
default['omnibus-gitlab']['run_reconfigure'] = true
......
......@@ -64,7 +64,7 @@ template '/etc/gitlab/gitlab.rb' do
end
file '/etc/gitlab/skip-auto-reconfigure' do
if node['omnibus-gitlab']['skip_auto_migrations']
if node['omnibus-gitlab']['skip_auto_reconfigure'] || node['omnibus-gitlab']['skip_auto_migrations']
action :create
else
action :delete
......
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