Skip to content
Snippets Groups Projects
Commit 884a4236 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Merge branch 'jramsay-4209-remove-rsync' into 'master'

Remove rsync instruction from promote-to-primary

Closes gitlab-ee#4209

See merge request gitlab-org/omnibus-gitlab!2213
parents e4555977 3fa242a1
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,6 @@
reconfigure
promote_to_primary
notification_about_rsync
end
private
......@@ -88,14 +86,6 @@
run_command('gitlab-rake geo:set_secondary_as_primary')
end
def notification_about_rsync
puts
puts '---------------------------------------'.color(:yellow)
puts 'Note: Rsync everything in /var/opt/gitlab/gitlab-rails/uploads and /var/opt/gitlab/gitlab-rails/shared from your old node to the new one !!!'.color(:yellow)
puts '---------------------------------------'.color(:yellow)
puts
end
def run_command(cmd)
GitlabCtl::Util.run_command(cmd)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment