All strings that do not contain variables or escape characters like \n
or
\t
should be enclosed in single quotes (style guide).
$foo = "bar"
$foo = 'bar'
To disable this check you can add --no-double_quoted_strings-check
to your
puppet-lint
command line.
$ puppet-lint --no-double_quoted_strings-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_double_quoted_strings')