]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Don't attempt to run dpkg on non-deb systems 550/head
authorZack Cerza <zack@redhat.com>
Mon, 29 Jun 2015 20:43:22 +0000 (14:43 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 29 Jun 2015 20:47:47 +0000 (14:47 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/nuke.py

index 1dfa9774c9414e95ecad0bf69d88bdafb0606b8f..c7839e491421336e5031c8b79a05b902df26779a 100644 (file)
@@ -241,6 +241,8 @@ def reset_syslog_dir(ctx):
 def dpkg_configure(ctx):
     nodes = {}
     for remote in ctx.cluster.remotes.iterkeys():
+        if remote.os.package_type != 'deb':
+            continue
         proc = remote.run(
             args=[
                 'sudo', 'dpkg', '--configure', '-a',