Slash comments

Although the Puppet language allows you to use // style comments, it is recommended that you use # style comments (style guide).

What you have done

  // my awesome comment

What you should have done:

  # my awesome comment

Disabling the check

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.