Merge pull request #45710 from michelsen/fix-chocolatey-state-bug

Added source argument to function call
This commit is contained in:
Nicole Thomas 2018-01-26 09:30:48 -05:00 committed by GitHub
commit 9c92e93834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: