mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Use keyword args instead of relying on ordering
This commit is contained in:
parent
398eaa074d
commit
9696b6dfa5
@ -102,8 +102,10 @@ def installed(name, version=None, source=None, force=False, pre_versions=False,
|
||||
|
||||
# Install the package
|
||||
ret['changes'] = {name: __salt__['chocolatey.install'](
|
||||
name, version, source, force, pre_versions, install_args, override_args,
|
||||
force_x86, package_args)}
|
||||
name=name, version=version, source=source, force=force,
|
||||
pre_versions=pre_versions, install_args=install_args,
|
||||
override_args=override_args, force_x86=force_x86,
|
||||
package_args=package_args)}
|
||||
|
||||
if 'Running chocolatey failed' not in ret['changes']:
|
||||
ret['result'] = True
|
||||
|
Loading…
Reference in New Issue
Block a user