A puppet-lint plugin to check that classes are included by their absolute name.
$ gem install puppet-lint-absolute_classname-checkgem 'puppet-lint-absolute_classname-check', :require => falseIncluding a class by a relative name might lead to unexpected results.
include foobarinclude ::foobarTo disable this check, you can add --no-absolute_classname-check to your puppet-lint command line.
$ puppet-lint --no-absolute_classname-check path/to/file.ppAlternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your Rakefile.
PuppetLint.configuration.send('disable_absolute_classname')This plugin was originally authored by Camptocamp. The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance. Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
Previously: https://github.com/camptocamp/puppet-lint-absolute_classname-check