Simple yaml check tool that checks some more things than the original version. yaml-lint still tries to load the YAML file with the built-in Ruby yaml library and performs some additional checks afterwards.
- correct indentation
- OK: "key": (or single quotes)
- NOK: "key:" (or single quotes)
- OK: key: 'value' (or double quotes)
- NOK: key: value' (or double quotes)
gem install yaml-lintCheck a file
yaml-lint filename.yamlCheck a complete folder
yaml-lint hiera/