Attribute Ordering
If a resource declaration includes an ensure
parameter, it should be the
first parameter specified (style guide).
What you have done
What you should have done:
Disabling the check
To disable this check you can add --no-ensure_first_param-check
to your
puppet-lint
command line.
Alternatively, if you’re calling puppet-lint via the Rake task, you should
insert the following line to your Rakefile
.