August 2015
Intermediate to advanced
144 pages
2h 58m
English
Lint is the name given to a program that searches through code for non-ideal or nonportable syntax. The puppet-lint tool is a Lint tool for Puppet code. It will go through your Puppet code and point out the code that has the potential to be a problem. By default, puppet-lint uses the style-guide guidelines and will report problems such as lines that have more than 80 characters.
The puppet-lint tool is a Ruby gem and can be installed using the gem tool or as a package, depending on your distribution (for instance, Fedora calls this package rubygem-puppet-lint). To install it using Puppet, run the following puppet resource command:
$ sudo puppet resource package puppet-lint ensure=installed provider=gem Notice: /Package[puppet-lint]/ensure: ...
Read now
Unlock full access