Skip to content

Commit

Permalink
(maint) Update rakefile for puppetlabs_spec_helper
Browse files Browse the repository at this point in the history
This commit adds the 80 and 140 char rule changes that are required for Puppet
Lint 2.0.  These can be removed once next version of puppetlabs_spec_helper is released as they are already the defaults.
  • Loading branch information
glennsarti committed Jun 28, 2016
1 parent 07de936 commit 9408433
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ rescue LoadError
#Do nothing, only installed with system_tests group
end

# These lint exclusions are in puppetlabs_spec_helper but needs a version above 0.10.3
# Line length test is 80 chars in puppet-lint 1.1.0
PuppetLint.configuration.send('disable_80chars')
# Line length test is 140 chars in puppet-lint 2.x
PuppetLint.configuration.send('disable_140chars')

task :default => [:test]

desc 'Run RSpec'
Expand Down

0 comments on commit 9408433

Please sign in to comment.