Ceph.com does redirects, but this is faster.
Signed-off-by: Sage Weil <sage@redhat.com>
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,
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,
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,
)