mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50333 from garethgreenaway/50311_pkg_installed_fails_sources_hold
[2018.3] Fix to pkg.installed for sources and hold: True
This commit is contained in:
commit
d9179fb5b2
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ def installed(
|
|||
try:
|
||||
action = 'pkg.hold' if kwargs['hold'] else 'pkg.unhold'
|
||||
hold_ret = __salt__[action](
|
||||
name=name, pkgs=desired, sources=sources
|
||||
name=name, pkgs=desired
|
||||
)
|
||||
except (CommandExecutionError, SaltInvocationError) as exc:
|
||||
comment.append(six.text_type(exc))
|
||||
|
|
Loading…
Add table
Reference in a new issue