When defining variables you should only use letters, numbers and underscores. You should specifically not make use of dashes (style guide).
To disable this check you can add
--no-variable_contains_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