mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43271 from twangboy/win_fix_pkg.install
Fix minor formatting issue
This commit is contained in:
commit
cf21f91fb2
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ def install(name=None, refresh=False, pkgs=None, **kwargs):
|
|||
# Special handling for installing salt
|
||||
if re.search(r'salt[\s_.-]*minion',
|
||||
pkg_name,
|
||||
flags=re.IGNORECASE+re.UNICODE) is not None:
|
||||
flags=re.IGNORECASE + re.UNICODE) is not None:
|
||||
ret[pkg_name] = {'install status': 'task started'}
|
||||
if not __salt__['task.run'](name='update-salt-software'):
|
||||
log.error('Failed to install {0}'.format(pkg_name))
|
||||
|
|
Loading…
Add table
Reference in a new issue