Although the Puppet language allows you to use //
style comments, it is
recommended that you use #
style comments (style guide).
// my awesome comment
# my awesome comment
To disable this check you can add --no-slash_comments-check
to your
puppet-lint
command line.
$ puppet-lint --no-slash_comments-check path/to/file.pp
Alternatively, if you’re calling puppet-lint via the Rake task, you should
insert the following line to your Rakefile
.
PuppetLint.configuration.send('disable_slash_comments')