]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
updated the get_system_type function
authorksharma <ksharma@suse.com>
Fri, 23 May 2014 13:57:07 +0000 (15:57 +0200)
committerksharma <ksharma@suse.com>
Wed, 28 May 2014 14:31:56 +0000 (16:31 +0200)
updated the get_system_type function
to add the rpm condition for SUSE.

Signed-off-by: ksharma@suse.com
teuthology/misc.py

index bee5e3fcaf7c553e1aa9c1df1f3a574b51736804..15cbcf007e72980cb01f229e346f99c17270a4f8 100644 (file)
@@ -1116,7 +1116,8 @@ def get_system_type(remote, distro=False):
         return system_value.lower()
     if system_value in ['Ubuntu', 'Debian']:
         return "deb"
-    if system_value in ['CentOS', 'Fedora', 'RedHatEnterpriseServer']:
+    if system_value in ['CentOS', 'Fedora', 'RedHatEnterpriseServer',
+                        'openSUSE project', 'SUSE LINUX']:
         return "rpm"
     return system_value