Skip to content

Commit

Permalink
update Rakefile boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Feb 10, 2015
1 parent 9b3c52c commit b469715
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-syntax/tasks/puppet-syntax'
require 'puppet-lint/tasks/puppet-lint'

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

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 b469715

Please sign in to comment.