From: Sage Weil Date: Thu, 17 Sep 2015 18:37:59 +0000 (-0400) Subject: install: go direct to download.ceph.com X-Git-Tag: v1.5.29~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ea42124eb9c901d271293901f543ff66bf1b4717;p=ceph-deploy.git install: go direct to download.ceph.com Ceph.com does redirects, but this is faster. Signed-off-by: Sage Weil --- diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py index 868858e..503cc3d 100644 --- a/ceph_deploy/hosts/centos/install.py +++ b/ceph_deploy/hosts/centos/install.py @@ -67,12 +67,12 @@ def install(distro, version_kind, version, adjust_repos, **kw): distro.packager.add_repo_gpg_key(gpg.url(key)) if version_kind == 'stable': - url = 'http://ceph.com/rpm-{version}/{repo}/'.format( + url = 'http://download.ceph.com/rpm-{version}/{repo}/'.format( version=version, repo=repo_part, ) elif version_kind == 'testing': - url = 'http://ceph.com/rpm-testing/{repo}/'.format(repo=repo_part) + url = 'http://download.ceph.com/rpm-testing/{repo}/'.format(repo=repo_part) remoto.process.run( distro.conn, diff --git a/ceph_deploy/hosts/debian/install.py b/ceph_deploy/hosts/debian/install.py index 0547f1c..2fb8864 100644 --- a/ceph_deploy/hosts/debian/install.py +++ b/ceph_deploy/hosts/debian/install.py @@ -30,11 +30,11 @@ def install(distro, version_kind, version, adjust_repos, **kw): distro.packager.add_repo_gpg_key(gpg.url(key, protocol=protocol)) if version_kind == 'stable': - url = 'http://ceph.com/debian-{version}/'.format( + url = 'http://download.ceph.com/debian-{version}/'.format( version=version, ) elif version_kind == 'testing': - url = 'http://ceph.com/debian-testing/' + url = 'http://download.ceph.com/debian-testing/' elif version_kind in ['dev', 'dev_commit']: url = 'http://gitbuilder.ceph.com/ceph-deb-{codename}-{machine}-basic/{sub}/{version}'.format( codename=codename, diff --git a/ceph_deploy/hosts/fedora/install.py b/ceph_deploy/hosts/fedora/install.py index c2a8690..e717475 100644 --- a/ceph_deploy/hosts/fedora/install.py +++ b/ceph_deploy/hosts/fedora/install.py @@ -32,12 +32,12 @@ def install(distro, version_kind, version, adjust_repos, **kw): distro.packager.add_repo_gpg_key(gpg.url(key)) if version_kind == 'stable': - url = 'http://ceph.com/rpm-{version}/fc{release}/'.format( + url = 'http://download.ceph.com/rpm-{version}/fc{release}/'.format( version=version, release=release, ) elif version_kind == 'testing': - url = 'http://ceph.com/rpm-testing/fc{release}'.format( + url = 'http://download.ceph.com/rpm-testing/fc{release}'.format( release=release, )