Single quoted strings do not get interpolated, so you should not attempt to embed variables in one. This is not a style issue, rather a common mistake.
To disable this check you can add
--no-single_quote_string_with_variables-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