Stop services if they exist.
This commit is contained in:
parent
57ec4d878f
commit
635d7952fa
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue