From: Justin Stoller Date: Sun, 9 Feb 2014 06:22:47 +0000 (-0800) Subject: disable lint check for single quoted variables X-Git-Tag: 1.4.1~5^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fcdbafd74b1d21c7fd648fc510ef15dc7a0d0618;hp=386c48bad03e56bc410282301fa9c96d3ef3ac20;p=puppet-modules%2Fpuppetlabs-apt.git disable lint check for single quoted variables Previously we weren't linting, there's a number of warning but there was only one actual error reported when linting was enabled. It was erroring on a valid usage of a single quoted variable-like string. To allow linting to succeed (and the warning to show themselves) I've disable the check that is giving a false positive. --- diff --git a/Rakefile b/Rakefile index 4fea69b..6d067dc 100644 --- a/Rakefile +++ b/Rakefile @@ -1,2 +1,4 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' + +PuppetLint.configuration.send('disable_single_quote_string_with_variables')