puppet-lint global resource check

Installation

To use this plugin, add the following like to the Gemfile in your Puppet code base and run bundle install.

gem 'puppet-lint-global_resource-check'

Usage

This plugin provides a new check to puppet-lint.

global_resource

--fix support: No

This check will raise a error for any global defines resource.

ERROR: Resource file in global space on line 19