Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Puppet: puppetlint

LCD 47 edited this page Jul 24, 2013 · 8 revisions

Maintainer: Eivind Uggedal [email protected]

puppet-lint is a style checker for puppet manifests. See the project's page for details.

It requires puppet to be installed in order to produce meaningful results.

Note:

Puppet uses locales to figgure out what to do with non-ASCII characters in manifest files. On the other hand, syntastic resets locales when running the checkers. As a work-around, if you need to check manifests containing non-ASCII characters, you might want to add something like this to your vimrc:

let g:syntastic_puppet_puppet_exe = "LC_ALL=en_US.UTF-8 puppet"
let g:syntastic_puppet_puppetlint_exe = "LC_ALL=en_US.UTF-8 puppet-lint"

Please also note that syntastic can only parse English messages from puppet regardless of charset, so only English locales are supported.

Clone this wiki locally