Added source argument to function call

This commit is contained in:
Levi Dahl Michelsen 2018-01-26 12:27:33 +01:00
parent 693f72d5a7
commit 8accc0ce5c
No known key found for this signature in database
GPG Key ID: ADC196E8D97FDD5A

View File

@ -101,7 +101,9 @@ def installed(name, version=None, source=None, force=False, pre_versions=False,
# Package installed
else:
version_info = __salt__['chocolatey.version'](name, check_remote=True)
version_info = __salt__['chocolatey.version'](name=name,
check_remote=True,
source=source)
full_name = name
for pkg in version_info: