From 48ac3fb090451b9c446a438ba5fbdc1999cb167a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Gagne=CC=81?= Date: Wed, 28 Aug 2013 17:58:03 -0400 Subject: [PATCH] Fail puppet-lint on warnings Puppet-lint will now fail if there is any warnings. Disable 'class_inherits_from_params_class' check. Change-Id: Ia1d7fa5109178f040b00abcdb3f7d84c4bdf58b4 --- Rakefile | 2 ++ manifests/db/mysql/host_access.pp | 1 + 2 files changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 3adf8337c..b07ed10b2 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +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_inherits_from_params_class') PuppetLint.configuration.send('disable_class_parameter_defaults') diff --git a/manifests/db/mysql/host_access.pp b/manifests/db/mysql/host_access.pp index f7d676b7b..50a1a3abc 100644 --- a/manifests/db/mysql/host_access.pp +++ b/manifests/db/mysql/host_access.pp @@ -1,3 +1,4 @@ +# define keystone::db::mysql::host_access( $user, $password,