From: Zack Cerza Date: Mon, 29 Jun 2015 20:43:22 +0000 (-0600) Subject: Don't attempt to run dpkg on non-deb systems X-Git-Tag: 1.1.0~899^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F550%2Fhead;p=teuthology.git Don't attempt to run dpkg on non-deb systems Signed-off-by: Zack Cerza --- diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 1dfa9774c..c7839e491 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -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',