Skip to content

Commit

Permalink
update Rakefile to latest boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Apr 22, 2015
1 parent 5e0b5ba commit 9376db4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ require 'puppet-syntax/tasks/puppet-syntax'
require 'puppet-lint/tasks/puppet-lint'

PuppetSyntax.exclude_paths = ['spec/fixtures/**/*']
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.ignore_paths = ['pkg/**/*.pp', 'spec/**/*.pp', 'tests/**/*.pp']

PuppetLint::RakeTask.new :lint do |config|
config.pattern = 'manifests/**/*.pp'
config.fail_on_warnings = true
end

task :default => [
:syntax,
Expand Down

0 comments on commit 9376db4

Please sign in to comment.