To use this plugin, add the following like to the Gemfile in your Puppet code
base and run bundle install
.
gem "puppet-lint-global_definition-check"
This plugin provides a new check to puppet-lint
.
--fix support: No
This check will raise a error for any global resource.
ERROR: resource file in global space on line 19
--fix support: No
This check will raise a error for any global function.
ERROR: token ensure_resouce in global space on line 19