mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix possible oversight in nodegroup modifications
b3e2f38
enhanced nodegroup matching to allow sequences. However, the
list of regex special characters appears to have been improperly
formatted.
This commit is contained in:
parent
9d4321ddac
commit
9951b8dcf1
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ def nodegroup_comp(nodegroup, nodegroups, skip=None, first_call=True):
|
|||
# No compound operators found in nodegroup definition. Check for
|
||||
# group type specifiers
|
||||
group_type_re = re.compile('^[A-Z]@')
|
||||
regex_chars = ['(', '[', '{', '\\', '?''}])']
|
||||
regex_chars = ['(', '[', '{', '\\', '?', '}', ']', ')']
|
||||
if not [x for x in ret if '*' in x or group_type_re.match(x)]:
|
||||
# No group type specifiers and no wildcards.
|
||||
# Treat this as an expression.
|
||||
|
|
Loading…
Add table
Reference in a new issue