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

Development

>= 13.0, < 14.0
~> 3.0
~> 1.0
>= 2.0, < 3.0
>= 0.17.1, < 2.0
>= 1.22.3, < 2.0

Runtime

>= 2.0, < 5.0
 Project Readme

puppet-lint-empty_trailing_lines

This plugin will check to see if a manifest has trailing empty lines.

Installation

From the command line

gem install puppet-lint-empty_trailing_lines

In a Gemfile

gem 'puppet-lint-empty_trailing_lines', :require => false

Checks

This plugin provides a new check to puppet-lint.

What you have done

  # There are two empty lines after the code has ended
    file { '/foo':
      ensure => 'file',
    }
  }

What you should have done

  # No empty lines left at the end of the file
    file { '/foo':
      ensure => 'file',
    }
  }

Disabling the check

Control comment

# lint:ignore:empty_trailing_lines

From the command line

--no-empty_trailing_lines-check

In your Rakefile

PuppetLint.configuration.send("disable_empty_trailing_lines")