File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 174
174
175
175
# Tell chef what the gitlab service supports
176
176
service "gitlab" do
177
- supports :restart => true , :start => true , :stop => true , :status => true
178
- action :nothing
177
+ action [ :enable , :start ]
179
178
end
180
179
181
180
# Write the init file and enable the service
182
181
template "/etc/init.d/gitlab" do
183
182
source "init_gitlab.erb"
184
183
mode 0744
185
- notifies :enable , "service[gitlab]"
186
- notifies :start , "service[gitlab]"
184
+ notifies :restart , "service[gitlab]"
187
185
end
188
186
189
- # Install nginx as a reverse proxy
190
- include_recipe "gitlab::nginx"
191
-
192
187
# I would love to use the directory resource for this. Unfortunately, this bug exists:
193
188
# http://tickets.opscode.com/browse/CHEF-1621
194
189
bash "Fix permisions" do
You can’t perform that action at this time.
0 commit comments