From 62d16ebe49c213aafd33f126b30d802c995e571d Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 10 Feb 2014 14:53:46 +0100 Subject: [PATCH] Pull unicorn attributes from 'unicorn' namespace --- files/gitlab-cookbooks/gitlab/recipes/unicorn.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/recipes/unicorn.rb b/files/gitlab-cookbooks/gitlab/recipes/unicorn.rb index a0ff450..c805426 100644 --- a/files/gitlab-cookbooks/gitlab/recipes/unicorn.rb +++ b/files/gitlab-cookbooks/gitlab/recipes/unicorn.rb @@ -35,8 +35,8 @@ unicorn_socket_dir = File.dirname(unicorn_listen_socket) end end -unicorn_listen_tcp = node['gitlab']['gitlab-core']['listen'] -unicorn_listen_tcp << ":#{node['gitlab']['gitlab-core']['port']}" +unicorn_listen_tcp = node['gitlab']['unicorn']['listen'] +unicorn_listen_tcp << ":#{node['gitlab']['unicorn']['port']}" unicorn_config File.join(gitlab_core_etc_dir, "unicorn.rb") do listen( -- libgit2 0.21.2