Chocolatey doesn't have a help command.

This commit is contained in:
Ben Woodward 2015-10-07 13:44:51 +01:00
parent 4e48651de0
commit 8f1fa9e78e

View file

@ -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()