When using top-scope variables, including facts, Puppet modules should explicitly specify the empty namespace to prevent accidental scoping issues. (style guide).
To disable this check you can add --no-variable_scope-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 Rakefile
.