Commit 40e2ddf76ac63823ec8bb9eeec6570193e272f8a

Authored by Jacob Vosmaer
1 parent 1a5d0a7f

Enable nginx service

files/gitlab-cookbooks/gitlab/libraries/gitlab.rb
... ... @@ -31,6 +31,7 @@ module Gitlab
31 31 gitlab_rails Mash.new
32 32 unicorn Mash.new
33 33 sidekiq Mash.new
  34 + nginx Mash.new
34 35 node nil
35 36  
36 37 class << self
... ... @@ -79,6 +80,7 @@ module Gitlab
79 80 "gitlab_rails",
80 81 "unicorn",
81 82 "sidekiq",
  83 + "nginx",
82 84 "postgresql"
83 85 ].each do |key|
84 86 rkey = key.gsub('_', '-')
... ...
files/gitlab-cookbooks/gitlab/recipes/default.rb
... ... @@ -69,6 +69,7 @@ include_recipe &quot;runit&quot;
69 69 "postgresql", # Postgresql depends on Redis because of `rake db:seed_fu`
70 70 "unicorn",
71 71 "sidekiq",
  72 + "nginx"
72 73 "bootstrap",
73 74 ].each do |service|
74 75 if node["gitlab"][service]["enable"]
... ...