Right To Left Relationship

Relationship declarations with the chaining syntax should only be used in the “left to right” direction (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-right_to_left_relationship-check to your puppet-lint command line.

$ puppet-lint --no-right_to_left_relationship-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.