Add nodegroup check to ckminions (#37763)

Closes #37742
This commit is contained in:
Mike Place 2016-11-21 16:43:16 +00:00 committed by Nicole Thomas
parent d674369efc
commit 7de784411d

View file

@ -181,6 +181,14 @@ class CkMinions(object):
else:
self.acc = 'accepted'
def _check_nodegroup_minions(self, expr, greedy): # pylint: disable=unused-argument
'''
Return minions found by looking at nodegroups
'''
return self._check_compound_minions(nodegroup_comp(expr, self.opts['nodegroups']),
DEFAULT_TARGET_DELIM,
greedy)
def _check_glob_minions(self, expr, greedy): # pylint: disable=unused-argument
'''
Return the minions found by looking via globs