Skip to content

Commit

Permalink
Clear any previous definition of the rake task named 'lint'.
Browse files Browse the repository at this point in the history
Configure puppet-lint to ignore vendor directory
  • Loading branch information
mmarseglia committed May 9, 2016
1 parent 10163e0 commit 353d5ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
require 'puppet-lint/tasks/puppet-lint'

# Clear any previous definition of the rake task named 'lint'.
Rake::Task[:lint].clear

# Configure puppet-lint to ignore vendor directory
PuppetLint::RakeTask.new :lint do |config|
config.ignore_paths = [ "vendor/**/*" ]
end

0 comments on commit 353d5ab

Please sign in to comment.