From 276378b4493a38a4968d5407e66df8edc62f187a Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 7 Jul 2016 14:01:03 +0200 Subject: [PATCH] Disable "variable contains a dash" Puppet check Change-Id: I7f2b3e194e68c6472ef02528b23f8551c49c9fa9 --- deployment_scripts/puppet/manifests/Rakefile | 1 + deployment_scripts/puppet/modules/lma_collector/Rakefile | 1 + 2 files changed, 2 insertions(+) diff --git a/deployment_scripts/puppet/manifests/Rakefile b/deployment_scripts/puppet/manifests/Rakefile index c12422003..8f70d7920 100644 --- a/deployment_scripts/puppet/manifests/Rakefile +++ b/deployment_scripts/puppet/manifests/Rakefile @@ -5,6 +5,7 @@ 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') +PuppetLint.configuration.send('disable_variable_contains_dash') desc "Run lint, and syntax tests." task :test => [ diff --git a/deployment_scripts/puppet/modules/lma_collector/Rakefile b/deployment_scripts/puppet/modules/lma_collector/Rakefile index d253a101e..df0186585 100644 --- a/deployment_scripts/puppet/modules/lma_collector/Rakefile +++ b/deployment_scripts/puppet/modules/lma_collector/Rakefile @@ -7,6 +7,7 @@ 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') +PuppetLint.configuration.send('disable_variable_contains_dash') exclude_paths = [ "pkg/**/*",