From ea42124eb9c901d271293901f543ff66bf1b4717 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 17 Sep 2015 14:37:59 -0400 Subject: [PATCH] install: go direct to download.ceph.com Ceph.com does redirects, but this is faster. Signed-off-by: Sage Weil --- ceph_deploy/hosts/centos/install.py | 4 ++-- ceph_deploy/hosts/debian/install.py | 4 ++-- ceph_deploy/hosts/fedora/install.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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, ) -- 2.47.3