Support for dashes in class and defined type names differs depending on the release of Puppet you’re running. To ensure compatibility on all versions, you should avoid using dashes.
To disable this check you can add
--no-names_containing_dash-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