Checks template paths are relative, not absolute.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/puppet-lint/plugins
spec
.gitignore
.travis.yml
Gemfile
Jenkinsfile
LICENSE
README.md
Rakefile
puppet-lint-absolute_template_path.gemspec

README.md

puppet-lint absolute template path check

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