From: Alfredo Deza Date: Wed, 30 Oct 2013 23:29:32 +0000 (-0400) Subject: make sure this is only for Debian X-Git-Tag: v1.3~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d7ff0fa19b0e50f85bd346f098e644f53f33c18;p=ceph-deploy.git make sure this is only for Debian Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/remotes.py b/ceph_deploy/hosts/remotes.py index 98d4d31..76789cf 100644 --- a/ceph_deploy/hosts/remotes.py +++ b/ceph_deploy/hosts/remotes.py @@ -8,7 +8,7 @@ import platform def platform_information(): """ detect platform information from remote host """ distro, release, codename = platform.linux_distribution() - if not codename: # this could be an empty string in Debian + if not codename and 'debian' in distro.lower(): # this could be an empty string in Debian debian_codenames = { '8': 'jessie', '7': 'wheezy',