A chain operator should appear on the same line as its right-hand operand (style guide).
Service['httpd'] ->
Package['httpd']
Package['httpd']
-> Service['httpd']
To disable this check you can add --no-arrow_on_right_operand_line-check
to your
puppet-lint
command line.
$ puppet-lint --no-arrow_on_right_operand_line-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_arrow_on_right_operand_line')