Hard Tabs


In order to comply with the style guide, manifests must not use hard tab characters (\t) in the whitespace (style guide).

What you have done

file { '/tmp/foo':
        ensure => present,
}

What you should have done:

file { '/tmp/foo':
  ensure => present,
}

Disabling the check

To disable this check you can add --no-hard_tabs-check to your puppet-lint command line.

$ puppet-lint --no-hard_tabs-check path/to/file.pp

Alternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile.

PuppetLint.configuration.send('disable_hard_tabs')