From 565bccc92fcd2d2de2b553044dbedd1a577eba80 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 5 Nov 2013 15:24:38 -0500 Subject: [PATCH] fix unneeded double quotes for key imports in apt Signed-off-by: Alfredo Deza --- ceph_deploy/hosts/debian/install.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/ceph_deploy/hosts/debian/install.py b/ceph_deploy/hosts/debian/install.py index 48eedcc..7f2f344 100644 --- a/ceph_deploy/hosts/debian/install.py +++ b/ceph_deploy/hosts/debian/install.py @@ -30,13 +30,22 @@ def install(distro, version_kind, version, adjust_repos): [ 'wget', '-q', - '-O-', - "'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc'".format(key=key), - "| apt-key add -", + '-O', + '{key}.asc'.format(key=key), + 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc'.format(key=key), ], stop_on_nonzero=False, ) + process.run( + distro.conn, + [ + 'apt-key', + 'add', + 'release.asc' + ] + ) + if version_kind == 'stable': url = 'http://ceph.com/debian-{version}/'.format( version=version, -- 2.47.3