-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
FreeBSDSilicon v3004.0Release code nameRelease code namebugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems2nd top severity, seen by most users, causes major problems
Milestone
Description
Description
pkg.remove (and pkg.install) is not honoring options:
https://docs.saltproject.io/en/3002/ref/modules/all/salt.modules.pkgng.html#salt.modules.pkgng.remove
Trying to glob, regex, and dryrun and none are working. Following the example CLI and still notta.
Setup
None
Steps to Reproduce the behavior
salt minion01 pkg.remove tree* glob=True dryrun=True
(will fail because no pkg "tree*")
salt minion01 pkg.remove tree dryrun=True
(will uninstall "tree" despite this being specified as a dryrun)
Expected behavior
I expect the glob=True, regex=True, dryrun=True to work as documented.
Versions Report
salt --versions-report
Salt Version:
Salt: 3002.2
Dependency Versions:
dateutil: 2.6.1
Jinja2: 2.10.1
msgpack: 0.6.1
Python: 3.6.8
PyYAML: 3.12
PyZMQ: 17.0.0
Tornado: 4.5.3
ZMQ: 4.3.1
(all other deps not mentioned are not installed)
System Versions:
dist: rhel 8.3 Ootpa
machine: x86_64
release: 4.18.0-240.el8.x86_64
system: Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FreeBSDSilicon v3004.0Release code nameRelease code namebugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems2nd top severity, seen by most users, causes major problems