From 17a8fe4b338cc1d2abbb44faccb03222ebb22537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Gagne=CC=81?= Date: Wed, 28 Aug 2013 20:09:37 -0400 Subject: [PATCH] Fail puppet-lint on warnings Puppet-lint will now fail if there is any warnings. Change-Id: I2f778193f447a5b3656315bfc6004d65b389fba0 --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 0c7a18b08..56dc07de3 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' +PuppetLint.configuration.fail_on_warnings = true PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.send('disable_class_parameter_defaults') PuppetLint.configuration.send('disable_class_inherits_from_params_class')