Commit 1084c047e3a7ed0a6b5ec1b26863e6f34b640229
1 parent
69fe1222
Exists in
master
and in
17 other branches
Remove unneeded chef-server migration code
The vendored runit recipe of omnibus-chef-serfer includes one-time migration code for installations that have a `opscode-runsvdir` service. Due to unintelligent search-and-replace editing of yours truly, we not only kept migration code we do not need (because there exist no previous installations of omnibus-gitlab) but we were also triggering the cleanup on files/services that should not be cleaned up. This commit removes the migration code.
Showing
1 changed file
with
0 additions
and
9 deletions
Show diff stats
files/gitlab-cookbooks/runit/recipes/upstart.rb
| ... | ... | @@ -17,15 +17,6 @@ |
| 17 | 17 | # limitations under the License. |
| 18 | 18 | # |
| 19 | 19 | |
| 20 | -# Ensure the previous named iteration of the system job is nuked | |
| 21 | -execute "initctl stop gitlab-runsvdir" do | |
| 22 | - only_if "initctl status gitlab-runsvdir | grep start" | |
| 23 | - retries 30 | |
| 24 | -end | |
| 25 | -file "/etc/init/gitlab-runsvdir.conf" do | |
| 26 | - action :delete | |
| 27 | -end | |
| 28 | - | |
| 29 | 20 | cookbook_file "/etc/init/gitlab-runsvdir.conf" do |
| 30 | 21 | owner "root" |
| 31 | 22 | group "root" | ... | ... |