No release in over 3 years
Low commit activity in last 3 years
Extends puppet-lint to ensure that your manifest files end with newlines.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 3.0, >= 1.0
 Project Readme

puppet-lint plugin tutorial example code

Note, this is code is part of the puppet-lint plugin development tutorial. It should not be used as a real check and is provided as an example only.

Installation

To use this plugin, add the following like to the Gemfile in your Puppet code base and run bundle install.

gem 'puppet-lint-tutorial-check'

Usage

This plugin provides a new check to puppet-lint.

trailing_newlines

--fix support: Yes

This check will raise a warning for any files that don't end in a trailing newline.

WARNING: expected newline at the end of the file on line 56