Skip to content

Possible separate lint parser to point out common errors in SLSΒ #5378

@quinnypig

Description

@quinnypig

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions