Low commit activity in last 3 years
No release in over a year
Extends puppet-lint to ensure that your manifests have no global resources.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

puppet-lint global definition check

rspec Gem Version

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_definition-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 resource.

ERROR: resource file in global space on line 19

global_function

--fix support: No

This check will raise a error for any global function.

ERROR: token ensure_resouce in global space on line 19