This should be more reliable than the Gitweb interface.
# yum repos:
# [myrepo]
# baseurl = http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/hammer
-# gpgurl = https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
+# gpgurl = https://download.ceph.com/keys/autobuild.asc
# default = True
# extra-repos = cephrepo # will install the cephrepo file too
#
# enabled=1
# gpgcheck=1
# type=rpm-md
-# gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+# gpgkey=https://download.ceph.com/keys/release.asc
# apt repos:
# [myrepo]
# baseurl = http://gitbuilder.ceph.com/ceph-deb-trusty-x86_64-basic/ref/hammer
-# gpgurl = https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
+# gpgurl = https://download.ceph.com/keys/autobuild.asc
# default = True
# extra-repos = cephrepo # will install the cephrepo file too
#
# [cephrepo]
# baseurl=http://download.ceph.com/debian-hammer
-# gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+# gpgkey=https://download.ceph.com/keys/release.asc
""".format(gpgurl=gpg.url('release'))
distro.packager.install(['ca-certificates', 'apt-transport-https'])
if adjust_repos:
- # Wheezy does not like the git.ceph.com SSL cert
+ # Wheezy does not like the download.ceph.com SSL cert
protocol = 'https'
if codename == 'wheezy':
protocol = 'http'
def test_gpg_url_release(self):
result = paths.gpg.url('release')
- assert result == "https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc"
+ assert result == "https://download.ceph.com/keys/release.asc"
def test_gpg_url_autobuild(self):
result = paths.gpg.url('autobuild')
- assert result == "https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc"
+ assert result == "https://download.ceph.com/keys/autobuild.asc"
def test_gpg_url_http(self):
result = paths.gpg.url('release', protocol="http")
- assert result == "http://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc"
+ assert result == "http://download.ceph.com/release.asc"
default_components.rpm = tuple(_base_components + ['ceph-radosgw'])
default_components.deb = tuple(_base_components + ['radosgw'])
-gpg_key_base_url = "git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/"
+gpg_key_base_url = "download.ceph.com/keys/"
# enabled=1
# gpgcheck=1
# type=rpm-md
- # gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+ # gpgkey=https://download.ceph.com/keys/release.asc
# apt repos:
# [myrepo]
#
# [cephrepo]
# baseurl=http://ceph.com/rpm-emperor/el6/noarch
- # gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+ # gpgkey=https://download.ceph.com/keys/release.asc
.. conf_sections:
enabled=1
gpgcheck=1
type=rpm-md
- gpgkey=https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+ gpgkey=https://download.ceph.com/keys/release.asc
In this case, the repository called ``myrepo`` defines the ``extra-repos`` key
with just one extra one: ``cephrepo``.
It is strongly suggested that both flags be provided. However, the
``--gpg-url`` will default to the current one in the ceph repository::
- https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+ https://download.ceph.com/keys/release.asc
.. versionadded:: 1.3.3
That file is used by Ceph as the key for its signed packages and it is usually
retrieved from::
- https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc
+ https://download.ceph.com/keys/release.asc
This is how it would look the process to get Ceph installed from a local
repository in an admin host::
As an example of adding the Ceph rpm-hammer repo for EL7::
- ceph-deploy repo --repo-url http://ceph.com/rpm-hammer/el7/x86_64/ --gpg-url 'https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc' ceph HOST1
+ ceph-deploy repo --repo-url http://ceph.com/rpm-hammer/el7/x86_64/ --gpg-url 'https://download.ceph.com/keys/release.asc' ceph HOST1
In this example, the repo-name is ``ceph``, and the file ``/etc/yum.repos.d/ceph.repo``
will be created. Because ``--gpg-url`` was passed, the repo will have ``gpgcheck=1``
For APT, the equivalent example would be::
- ceph-deploy repo --repo-url http://ceph.com/debian-hammer --gpg-url 'https://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/release.asc' ceph HOST1
+ ceph-deploy repo --repo-url http://ceph.com/debian-hammer --gpg-url 'https://download.ceph.com/keys/release.asc' ceph HOST1
If a repo was defined in cephdeploy.conf, like the following::