-
Notifications
You must be signed in to change notification settings - Fork 10
Puppet Lint errors and fixes
If you have puppet-lint setup on your computer, whenever your Puppet file is saved, puppet-lint is executed
on the file and any warnings or errors are shown directly in the editor.
(Please note that the puppet-lint execution was never tested on Windows. Please file an issue if it doesn't work)
For some lint errors/warnings the editor provides quick fixes. These are denoted by a small lightbulb icon.
Triggering the Fix code... action (from main menu or via shortcut) will fix the problem.

You can configure what lint rules to include in your module in the Puppet project customizer ( project's Properties popup menu item).
Also by default your <project_directory>/Rakefile is parsed and the puppet-lint configuration defined there is used automatically.
You can override that behaviour in the project customizer as well.
