A long-lived project that still receives updates
A new check for puppet-lint that checks all template paths are in the template('example/template.erb') form rather than template('/etc/puppet/modules/example/templates/template.erb')
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.1, < 5.0
 Project Readme

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