From 67521917c4216b76e4659a4c4b80e64f6f4de70c Mon Sep 17 00:00:00 2001 From: Steve Hajducko Date: Fri, 16 Sep 2016 19:06:26 -0700 Subject: [PATCH] Create a set from the minion list --- salt/utils/minions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/utils/minions.py b/salt/utils/minions.py index 5cc39410fc..0aeb9e842e 100644 --- a/salt/utils/minions.py +++ b/salt/utils/minions.py @@ -652,6 +652,8 @@ class CkMinions(object): v_minions = self._expand_matching(valid) if minions is None: minions = set(self.check_minions(expr, expr_form)) + else: + minions = set(minions) d_bool = not bool(minions.difference(v_minions)) if len(v_minions) == len(minions) and d_bool: return True