diff --git a/files/gitlab-cookbooks/gitlab/recipes/default.rb b/files/gitlab-cookbooks/gitlab/recipes/default.rb index d6f82ef..c30c189 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/default.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/default.rb @@ -60,8 +60,8 @@ include_recipe "runit" # Configure Services [ - "postgresql", "redis", + "postgresql", # Postgresql depends on Redis because of `rake db:seed_fu` "unicorn", "bootstrap", ].each do |service| diff --git a/files/gitlab-cookbooks/gitlab/recipes/postgresql.rb b/files/gitlab-cookbooks/gitlab/recipes/postgresql.rb index 6e007a3..a753e46 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/postgresql.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/postgresql.rb @@ -153,5 +153,5 @@ execute "create #{db_name} database" do user pg_user not_if { !pg_helper.is_running? || pg_helper.database_exists?(db_name) } retries 30 - notifies :run, "execute[initialize database]" + notifies :run, "execute[initialize database]", :immediately end -- libgit2 0.21.2