mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix regex, add .
This commit is contained in:
parent
23ec47c74c
commit
e007a1c26e
1 changed files with 1 additions and 1 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Reference in a new issue