From 9226037e4e1a3648f8b6809726612acae3046d74 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Sat, 30 Nov 2013 11:18:43 -0500 Subject: Add rake tasks to validate and lint files and check with Travis This patch adds the ability to validate syntax of manifests, templates, and ruby files in lib/ via `rake validate` and the linting of manifests with puppet-lint via `rake lint`. These two commands are chained with running the spec tests in Travis to ensure there are no syntax or style issues. --- Gemfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 636f930..1b788fd 100644 --- a/Gemfile +++ b/Gemfile @@ -39,4 +39,6 @@ else gem 'puppet', :require => false end +gem 'puppet-lint', '>= 0.3.2' + # vim:ft=ruby -- cgit v1.2.3