From: Nathan Cutler Date: Sat, 14 May 2016 13:32:04 +0000 (+0200) Subject: packaging.py: make _get_distro() support openSUSE X-Git-Tag: 1.1.0~613^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=901635045d40ac7ba17109e382b09d092d0265af;p=teuthology.git packaging.py: make _get_distro() support openSUSE Add an explicit "elif" block for opensuse - without this, it falls through into the else clause and dies because it cannot determine a codename. Signed-off-by: Nathan Cutler --- diff --git a/teuthology/packaging.py b/teuthology/packaging.py index 6a125ca0ab..a4cafbb942 100644 --- a/teuthology/packaging.py +++ b/teuthology/packaging.py @@ -599,6 +599,8 @@ class GitbuilderProject(object): distro = "centos" elif distro == "fedora": distro = "fc" + elif distro == "opensuse": + distro = "opensuse" else: # deb based systems use codename instead of a distro/version combo if not codename: