warpnet / salt-lint

A command-line utility that checks for best practices in SaltStack.
https://salt-lint.readthedocs.io/en/latest/
MIT License
154 stars 39 forks source link

Feature Request: Add rule for sls render validation #137

Closed dawidmalina closed 3 years ago

dawidmalina commented 4 years ago

It would be good to render sls file to make sure we won't find issues with the syntax

the following code snippet would fail:

# the following code snippet would fail:
/path/to/file1
  file.managed:
    - contents: This is line 1

the following code snippet would pass:

# the following code snippet would fail:
/path/to/file1:
    file.managed:
    - contents: This is line 1
roaldnefs commented 4 years ago

Thanks @dawidmalina for the feature request!

This feature request is similar to #19 and affects #135.

roaldnefs commented 3 years ago

Closed this issue in favour of #19