In order to comply with the style guide, manifests must use 2 space characters when indenting (style guide).
file { '/tmp/foo':
ensure => present,
}
file { '/tmp/foo':
ensure => present,
}
To disable this check you can add --no-2sp_soft_tabs-check
to your
puppet-lint
command line.
$ puppet-lint --no-2sp_soft_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_2sp_soft_tabs')