Commit 62d16ebe49c213aafd33f126b30d802c995e571d

Authored by Jacob Vosmaer
1 parent 9d958d69

Pull unicorn attributes from 'unicorn' namespace

files/gitlab-cookbooks/gitlab/recipes/unicorn.rb
... ... @@ -35,8 +35,8 @@ unicorn_socket_dir = File.dirname(unicorn_listen_socket)
35 35 end
36 36 end
37 37  
38   -unicorn_listen_tcp = node['gitlab']['gitlab-core']['listen']
39   -unicorn_listen_tcp << ":#{node['gitlab']['gitlab-core']['port']}"
  38 +unicorn_listen_tcp = node['gitlab']['unicorn']['listen']
  39 +unicorn_listen_tcp << ":#{node['gitlab']['unicorn']['port']}"
40 40  
41 41 unicorn_config File.join(gitlab_core_etc_dir, "unicorn.rb") do
42 42 listen(
... ...