Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
doc-requestnet new docs requesteddocumentationRelates to Salt documentationseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstaletime-estimate-sprint
Milestone
Description
Description
This was discovered as part of working on #58112
How is event_match_type used, when listed in the minion and master config files?
Lines 929 to 932 in 8afbb8e
| ###### Miscellaneous settings ###### | |
| ############################################ | |
| # Default match type for filtering events tags: startswith, endswith, find, regex, fnmatch | |
| #event_match_type: startswith |
Suggested Fix
Define how it is used, and what the available values mean, at least somewhere in the master and minion docs (*.rst files)
- startswith
- endswith
- find
- regex
- fnmatch
Type of documentation
- minion/master configuration files
- Salt Documentation (.rst) for master/minion configuration files
Location or format of documentation
Master:
- https://github.com/saltstack/salt/blob/master/conf/master
- https://github.com/saltstack/salt/blob/master/doc/ref/configuration/master.rst
Minion:
- https://github.com/saltstack/salt/blob/master/conf/minion
- https://github.com/saltstack/salt/blob/master/doc/ref/configuration/minion.rst
Additional context
15:28 $ grep -nr "event_match_type"| grep -v "Binary file"
salt/utils/event.py:450: match_type = self.opts["event_match_type"]
salt/utils/event.py:618: Default is opts['event_match_type'] or 'startswith'
salt/config/__init__.py:438: "event_match_type": str,
salt/config/__init__.py:1225: "event_match_type": "startswith",
salt/config/__init__.py:1469: "event_match_type": "startswith", "event_match_type": "startswith",
Potentially related results come from grep -nr "match_type"
Metadata
Metadata
Assignees
Labels
doc-requestnet new docs requesteddocumentationRelates to Salt documentationseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstaletime-estimate-sprint
Activity
ScriptAutomate commentedon Aug 19, 2021
salt/salt/utils/event.py
Lines 612 to 619 in 79b5631
dwoz commentedon Oct 15, 2026
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below
severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.