Chaining arrow on the right hand operand’s line


A chain operator should appear on the same line as its right-hand operand (style guide).

What you have done

Service['httpd'] ->
Package['httpd']

What you should have done:

Package['httpd']
-> Service['httpd']

Disabling the check

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')