Commit cd6909178aaf632793d3678ec859dff949dcb379

Authored by Jacob Vosmaer
1 parent 69b90eb4

Fix typos

files/gitlab-cookbooks/gitlab/recipes/default.rb
@@ -69,7 +69,7 @@ include_recipe "runit" @@ -69,7 +69,7 @@ include_recipe "runit"
69 "postgresql", # Postgresql depends on Redis because of `rake db:seed_fu` 69 "postgresql", # Postgresql depends on Redis because of `rake db:seed_fu`
70 "unicorn", 70 "unicorn",
71 "sidekiq", 71 "sidekiq",
72 - "nginx" 72 + "nginx",
73 "bootstrap", 73 "bootstrap",
74 ].each do |service| 74 ].each do |service|
75 if node["gitlab"][service]["enable"] 75 if node["gitlab"][service]["enable"]
files/gitlab-cookbooks/gitlab/recipes/nginx.rb
@@ -37,7 +37,7 @@ nginx_vars = node['gitlab']['nginx'].to_hash.merge({ @@ -37,7 +37,7 @@ nginx_vars = node['gitlab']['nginx'].to_hash.merge({
37 :gitlab_http_config => File.join(nginx_etc_dir, "gitlab-http.conf"), 37 :gitlab_http_config => File.join(nginx_etc_dir, "gitlab-http.conf"),
38 }) 38 })
39 39
40 -template gitlab_http_config do 40 +template nginx_vars[gitlab_http_config] do
41 source "nginx-gitlab-http.conf.erb" 41 source "nginx-gitlab-http.conf.erb"
42 owner "root" 42 owner "root"
43 group "root" 43 group "root"
files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb
@@ -23,5 +23,5 @@ http { @@ -23,5 +23,5 @@ http {
23 23
24 include /opt/gitlab/embedded/conf/mime.types; 24 include /opt/gitlab/embedded/conf/mime.types;
25 25
26 - include <%= @gitlab_http_config %> 26 + include <%= @gitlab_http_config %>;
27 } 27 }