Classes and defined resource types must not be defined within other classes (style guide).
Split these classes and/or defines out into seperate files as described in the module fundamentals documentation.
To disable this check you can add
--no-nested_classes_or_defines-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