summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorGarrett Honeycutt <code@garretthoneycutt.com>2013-11-30 11:18:43 -0500
committerGarrett Honeycutt <code@garretthoneycutt.com>2013-11-30 11:18:43 -0500
commit9226037e4e1a3648f8b6809726612acae3046d74 (patch)
tree5d6f633e676860ae6e2a7ffaa0c78e229b1d5ba3 /Gemfile
parent44c181ec0e230768b8dce10de57f9b32638e66e1 (diff)
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.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
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