Skip to content

Commit 31cc96f

Browse files
committed
Don't included nginx in default recipe
1 parent dc327e7 commit 31cc96f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

recipes/default.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,21 +174,16 @@
174174

175175
# Tell chef what the gitlab service supports
176176
service "gitlab" do
177-
supports :restart => true, :start => true, :stop => true, :status => true
178-
action :nothing
177+
action [:enable, :start]
179178
end
180179

181180
# Write the init file and enable the service
182181
template "/etc/init.d/gitlab" do
183182
source "init_gitlab.erb"
184183
mode 0744
185-
notifies :enable, "service[gitlab]"
186-
notifies :start, "service[gitlab]"
184+
notifies :restart, "service[gitlab]"
187185
end
188186

189-
# Install nginx as a reverse proxy
190-
include_recipe "gitlab::nginx"
191-
192187
# I would love to use the directory resource for this. Unfortunately, this bug exists:
193188
# http://tickets.opscode.com/browse/CHEF-1621
194189
bash "Fix permisions" do

0 commit comments

Comments
 (0)