mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Chocolatey doesn't have a help command.
This commit is contained in:
parent
4e48651de0
commit
8f1fa9e78e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def chocolatey_version():
|
|||
'''
|
||||
if 'chocolatey._version' in __context__:
|
||||
return __context__['chocolatey._version']
|
||||
cmd = [_find_chocolatey(__context__, __salt__), 'help']
|
||||
cmd = [_find_chocolatey(__context__, __salt__)]
|
||||
out = __salt__['cmd.run'](cmd, python_shell=False)
|
||||
for line in out.splitlines():
|
||||
line = line.lower()
|
||||
|
|
Loading…
Add table
Reference in a new issue