salt icon indicating copy to clipboard operation
salt copied to clipboard

Possible separate lint parser to point out common errors in SLS

Open QuinnyPig opened this issue 11 years ago • 13 comments

A user on IRC today reported that they had an incorrect mode in a state file; instead of - mode: 755, they had - dirmode: 775.

This threw no errors even during debug. Is there a simple way to get a config parser to throw anything that isn't a valid Salt module call, or is this a harder problem to tackle?

QuinnyPig avatar Jun 03 '13 15:06 QuinnyPig