Commit 4dc7be5319c5f4447b1c95af46100052dc84285c

Authored by Jacob Vosmaer
1 parent 44889a88

Defer database initialization because of Redis

The database initialization expects Redis to be running. By letting the
initialization happen later we can be more sure that Redis is already
there.
files/gitlab-cookbooks/gitlab/recipes/postgresql.rb
... ... @@ -153,5 +153,5 @@ execute "create #{db_name} database" do
153 153 user pg_user
154 154 not_if { !pg_helper.is_running? || pg_helper.database_exists?(db_name) }
155 155 retries 30
156   - notifies :run, "execute[initialize database]", :immediately
  156 + notifies :run, "execute[initialize database]"
157 157 end
... ...