From 1c58720a7ae435b48d4b5110d60d97fdf0baf312 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Wed, 16 Mar 2016 13:46:49 -0400 Subject: [PATCH 1/2] Pin rake when using ruby 1.8.7 --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index 001e824..82208b9 100644 --- a/Gemfile +++ b/Gemfile @@ -26,5 +26,6 @@ gem 'puppet-lint-variable_contains_upcase' # rspec must be v2 for ruby 1.8.7 if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9' + gem 'rake', '~> 10.0' gem 'rspec', '~> 2.0' end From 9e9c03d1ed7af511b6273903e97db41da97dc972 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Wed, 16 Mar 2016 13:56:15 -0400 Subject: [PATCH 2/2] Disable 140 character puppet-lint check --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index e2c6d52..f2f0456 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' PuppetLint.configuration.send('disable_80chars') +PuppetLint.configuration.send('disable_140chars') PuppetLint.configuration.relative = true PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]