[fix] idstools can run on an import node as well

This commit is contained in:
William Wernert
2021-02-22 10:29:40 -05:00
parent f2a1e89633
commit bb6f3107bc

View File

@@ -46,7 +46,7 @@ def check_apply(args: dict):
def find_minion_pillar(minion_id: str) -> str:
if minion_id == None:
regex = '^.*_(manager|standalone)\.sls$'
regex = '^.*_(manager|standalone|import)\.sls$'
else:
regex = f'^{minion_id}\.sls$'