A command-line utility that checks for best practices in SaltStack.
Project description
salt-lint
salt-lint checks Salt State files (SLS) for best practices and behavior that could potentially be improved.
Explore the docs »
Check the Linting Rules
·
Report Bug
·
Request Feature
Demo
Acknowledgement
The project is heavily based on ansible-lint, with the modified work by Warpnet B.V.. ansible-lint was created by Will Thames and is now maintained as part of the Ansible by Red Hat project.
Changelog
All notable changes in salt-lint are documented below.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.7.0 (2021-11-01)
Added
Fixed
- Close temporary file after writing to STDIN (#263).
0.6.1 (2021-06-01)
Removed
- Remove rule 218 because of a false positive
0.6.0 (2021-06-01)
Deprecated
- Drop Python 2.7 support (#239).
Added
- Rule 216, 217 and 218 for catching common typographical errors (#249).
0.5.2 (2021-01-29)
Fixed
- Append the contents of the
CHANGELOG.md
file to the long description of the package instead of the duplicateREADME.md
contents (#234). - Ignore Jinja specific rules in Jinja escaped blocks (#236).
0.5.1 (2021-01-19)
Fixed
- Ensure all excluded paths from both the CLI and configuration are passed to the runner (#231).
0.5.0 (2021-01-17)
Added
- Rule 213 to recommend using cmd.run together with onchanges (#207).
- Rule 214 to check SLS file with a period in the name (besides the suffix period) as they can not be referenced by Salt (#209).
- Rules 901-915 to check for deprecated states and state options (#214).
- This
CHANGELOG.md
file to be able to list all notable changes for each version of salt-lint (#223).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for salt_lint-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2595e83d45fe842e7b8aa1164f0f6fe36da8db2e00e1feffb40e74d15fea97f8 |
|
MD5 | ed331b32d9064de3c462d0c3c3f5fd88 |
|
BLAKE2b-256 | 3ff6dbb3da1d32bec68bdb367e99fd3ab867347dab2329bd384bb433efc88524 |