aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorGael Chamoulaud <gchamoul@redhat.com>2015-10-13 13:15:15 +0200
committerGael Chamoulaud <gchamoul@redhat.com>2015-11-05 15:44:18 +0100
commit0d6b04c21a8308701416c15c1594d6253d848753 (patch)
tree77b453fb11f8c9903f4864d43a6e527e3b807bf2 /Rakefile
parentd94dc617929c7547397babe81e09e17d7f368be6 (diff)
Add Puppet 4.x lint checks
- This change adds Puppet-lint bits for checking Puppet manifests. Change-Id: I82869d8f9f6c64ac2a95429f453c3cb76c046974 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 00000000..3d62bb63
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,5 @@
+require 'puppetlabs_spec_helper/rake_tasks'
+require 'puppet-lint/tasks/puppet-lint'
+
+PuppetLint.configuration.fail_on_warnings = true
+PuppetLint.configuration.send('disable_80chars')