Fix regex, add .

This commit is contained in:
twangboy 2017-08-29 13:57:28 -06:00
parent 23ec47c74c
commit e007a1c26e

View file

@ -1313,7 +1313,7 @@ def install(name=None, refresh=False, pkgs=None, **kwargs):
# Run Scheduled Task
# Special handling for installing salt
if re.search(r'salt[\s-_]*minion',
if re.search(r'salt[\s_.-]*minion',
pkg_name,
flags=re.IGNORECASE + re.UNICODE) is not None:
ret[pkg_name] = {'install status': 'task started'}