]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
install: go direct to download.ceph.com 356/head
authorSage Weil <sage@redhat.com>
Thu, 17 Sep 2015 18:37:59 +0000 (14:37 -0400)
committerSage Weil <sage@redhat.com>
Thu, 17 Sep 2015 18:37:59 +0000 (14:37 -0400)
Ceph.com does redirects, but this is faster.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph_deploy/hosts/centos/install.py
ceph_deploy/hosts/debian/install.py
ceph_deploy/hosts/fedora/install.py

index 868858e6473a7a08c59e305d0a16c6a11610ffc1..503cc3d07aecfef541f369305b58efff7d13b427 100644 (file)
@@ -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,
index 0547f1c15de090b4af3d8a4017e648ef8fe4e233..2fb88642296c2b881209703f364432c85ff0698d 100644 (file)
@@ -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,
index c2a8690c622ee8ef23227e77c4062dc1d7d567e6..e71747512a090a7764d04f8d0ecb0de523dfa6e2 100644 (file)
@@ -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,
                     )