Skip to content

camptocamp/puppet-lint-absolute_classname-check

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 94 commits behind voxpupuli:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

puppet-lint-absolute_classname-check

Build Status Code Climate Gem Version Coverage Status

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

include foobar

What you should have done

include ::foobar

Disabling the check

To 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.pp

Alternatively, 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')

About

Puppet-lint plugin to check relative class name inclusions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%