Skip to content

deanwilson/puppet-lint-absolute_template_path-check

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

puppet-lint absolute template path check

Actions Status

A new check for puppet-lint that checks template paths are in the relative template('example/template.erb') form rather than the absolute template('/etc/puppet/modules/example/templates/template.erb') format.

Installation

To use this plugin add the following line to your Gemfile

gem 'puppet-lint-absolute_template_path'

and then run bundle install.

Usage

This plugin provides a new check to puppet-lint.

WARNING: template module paths should be relative, not absolute on line 5

Other puppet-lint plugins

You can find a list of my puppet-lint plugins in the unixdaemon puppet-lint-plugins repo.

Author

Dean Wilson

About

Checks template paths are relative, not absolute.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages