Relationship declarations with the chaining syntax should only be used in the “left to right” direction (style guide).
Service['httpd'] <- Package['httpd']Package['httpd'] -> Service['httpd']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.ppAlternatively, if you’re calling puppet-lint via the Rake task, you should
insert the following line to your Rakefile.
PuppetLint.configuration.send('disable_right_to_left_relationship')