From: Travis Rhoden Date: Thu, 28 May 2015 15:56:34 +0000 (-0400) Subject: [RM-11572] use http to get GPG key on Wheezy X-Git-Tag: v1.5.26~18^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F306%2Fhead;p=ceph-deploy.git [RM-11572] use http to get GPG key on Wheezy Fixes: #11572 Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/hosts/debian/install.py b/ceph_deploy/hosts/debian/install.py index b1ffb76..a16b394 100644 --- a/ceph_deploy/hosts/debian/install.py +++ b/ceph_deploy/hosts/debian/install.py @@ -31,13 +31,17 @@ def install(distro, version_kind, version, adjust_repos, **kw): ) if adjust_repos: + # Wheezy does not like the git.ceph.com SSL cert + protocol = 'https' + if codename == 'wheezy': + protocol = 'http' remoto.process.run( distro.conn, [ 'wget', '-O', '{key}.asc'.format(key=key), - gpg.url(key), + gpg.url(key, protocol=protocol), ], stop_on_nonzero=False, )