]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
merged system_value for rpms
authortamil <tamil.muthamizhan@inktank.com>
Sat, 8 Jun 2013 00:40:39 +0000 (17:40 -0700)
committertamil <tamil.muthamizhan@inktank.com>
Sat, 8 Jun 2013 00:40:39 +0000 (17:40 -0700)
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
1  2 
teuthology/task/install.py

index 30514bce571f7e4f2b030267548539c9bede1826,151d39a5fc437141ca971d42933fd208931fdb27..3cd4551e51c5525f21b42adae56b696db6d8749a
@@@ -26,9 -26,9 +26,9 @@@ def _get_system_type(remote)
      )
      system_value = r.stdout.getvalue().strip()
      log.debug("System to be installed: %s" % system_value)
--    if system_value in ['Ubuntu','Debian',]:
++    if system_value in ['Ubuntu','Debian']:
          return "deb"
-     if system_value in ['CentOS','Fedora',]:
 -    if system_value in ['CentOS', 'RedHatEnterpriseServer']:
++    if system_value in ['CentOS','Fedora','RedHatEnterpriseServer']:
          return "rpm"
      return system_value