Stop services if they exist.

This commit is contained in:
Marin Jankovski 2015-10-22 16:05:14 +02:00
parent 57ec4d878f
commit 635d7952fa
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ if OmnibusHelper.user_exists?(gitlab_ci_user)
ci_dependent_services.each do |ci_service|
service ci_service do
action :stop
only_if { node["gitlab"][ci_service]["enable"] }
end
include_recipe "gitlab::#{ci_service}_disable"