mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add wildcard support to Zypper
This commit is contained in:
parent
0bf0950158
commit
7fc33a3f82
@ -1069,7 +1069,7 @@ def install(name=None,
|
|||||||
if pkg_params is None or len(pkg_params) == 0:
|
if pkg_params is None or len(pkg_params) == 0:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
version_num = version
|
version_num = Wildcard(__zypper__)(name, version)
|
||||||
if version_num:
|
if version_num:
|
||||||
if pkgs is None and sources is None:
|
if pkgs is None and sources is None:
|
||||||
# Allow "version" to work for single package target
|
# Allow "version" to work for single package target
|
||||||
|
Loading…
Reference in New Issue
Block a user