In parameterized class and defined resource type declarations, parameters that are required should be listed before optional parameters (i.e. parameters with defaults) (style guide).
To disable this check you can add --no-parameter_order-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
.