/linter-puppet-lint

Atom linter plugin for Puppet, using puppet-lint

Primary LanguageJavaScript

linter-puppet-lint

This package provides linter support to your Puppet manifests through Atom-Linter using Puppet-Lint.

Preview

Installation

The puppet-lint gem must be installed. If you don't have puppet-lint installed, please follow the instructions here.

Basically, you should execute gem install puppet-lint or bundle install puppet-lint.

Compatibility

Since the 0.5.0 version this package is no longer compatible with old versions of puppet-lint because we are now using a custom log format with %{line} and %{column} placeholders. If you have an old version of Puppet-Lint installed, then please follow the instructions for the puppet-lint gem installation to ensure that you have the latest version of Puppet-Lint.

Plugin installation

  • $ apm install linter-puppet-lint

Settings

You can configure Linter-Puppet-Lint by going to the settings menu in Atom or by editing ``~/.atom/config.cson` (choose Open Your Config in Atom menu):

'linter-puppet-lint':
  'executablePath': '/usr/bin/puppet-lint' # puppet-lint path.