]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-11572] use http to get GPG key on Wheezy 306/head
authorTravis Rhoden <trhoden@redhat.com>
Thu, 28 May 2015 15:56:34 +0000 (11:56 -0400)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 28 May 2015 15:56:34 +0000 (11:56 -0400)
Fixes: #11572
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/hosts/debian/install.py

index b1ffb7629971f2326a1f3f6ba2316aaeddc21db2..a16b3943855563c02d5a32243aa8a337265c2534 100644 (file)
@@ -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,
         )