]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
make sure this is only for Debian 121/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Wed, 30 Oct 2013 23:29:32 +0000 (19:29 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Wed, 30 Oct 2013 23:29:32 +0000 (19:29 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/hosts/remotes.py

index 98d4d3197a8f78d883badbfe60c5271e71e59e6f..76789cf265a6f48806ceeb7de9fedb2b46076ab6 100644 (file)
@@ -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',