Sha256: 351b02bfafe70edc9014965b8d0f40f13a4cc561280b2ad25a2c86b0aa82b691
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
puppet-lint-absolute_classname-check ================================= [](https://travis-ci.org/camptocamp/puppet-lint-absolute_classname-check) [](https://codeclimate.com/github/camptocamp/puppet-lint-absolute_classname-check) [](http://badge.fury.io/rb/puppet-lint-absolute_classname-check) [](https://coveralls.io/r/camptocamp/puppet-lint-absolute_classname-check?branch=master) A puppet-lint plugin to check that classes are included by their absolute name. ## Checks ### Relative class name inclusion Including a class by a relative name might lead to unexpected results. #### What you have done ```puppet include foobar ``` #### What you should have done ```puppet include ::foobar ``` #### Disabling the check To disable this check, you can add `--no-absolute_classname-check` to your puppet-lint command line. ```shell $ puppet-lint --no-absolute_classname-check path/to/file.pp ``` Alternatively, if you’re calling puppet-lint via the Rake task, you should insert the following line to your `Rakefile`. ```ruby PuppetLint.configuration.send('disable_absolute_classname') ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puppet-lint-absolute_classname-check-0.1.3 | README.md |
puppet-lint-absolute_classname-check-0.1.2 | README.md |