provide kwargs to pkg_resource.parse_targets required to detect advisory type

This commit is contained in:
Michael Calmer 2018-04-18 17:19:18 +02:00
parent d6c59696be
commit 8c19368938

View file

@ -1322,7 +1322,7 @@ def install(name=None,
try:
pkg_params, pkg_type = __salt__['pkg_resource.parse_targets'](
name, pkgs, sources, saltenv=saltenv, normalize=normalize
name, pkgs, sources, saltenv=saltenv, normalize=normalize, **kwargs
)
except MinionError as exc:
raise CommandExecutionError(exc)