Open clickthisnick opened 2 years ago
Thanks @clickthisnick for the feature request!
According to the SaltStack documentation the compound matchers indeed requires spaces between the parentheses and targets:
Be certain to note that spaces are required between the parentheses and targets. Failing to obey this rule may result in incorrect targeting!
Is your feature request related to a problem? Please describe.
We have noticed that compound matching does not work in the top.sls file if you don't have spaces around the parenthesis
The above did not work, whereas below with spaces
(
and)
worked.Describe the solution you'd like
It would be nice if salt-lint gave a warning to include spaces here
Describe alternatives you've considered
Haven't thought about anything else 😉
Additional context
None