Skip to content

Commit

Permalink
Merge pull request #69 from mmickan/fix/master/MODULES-1190
Browse files Browse the repository at this point in the history
(MODULES-1190) respect puppet-lint ignore paths in Rakefile
  • Loading branch information
hunner committed Jul 9, 2014
2 parents 1345230 + c29dad6 commit 19f1d1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/puppetlabs_spec_helper/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ def revision(scm, target, ref)
desc "Check puppet manifests with puppet-lint"
task :lint do
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.ignore_paths = ["spec/fixtures/**/*.pp"]
PuppetLint.configuration.ignore_paths ||= []
PuppetLint.configuration.ignore_paths << "spec/fixtures/**/*.pp"
end

desc "Check puppet manifest syntax"
Expand Down

0 comments on commit 19f1d1c

Please sign in to comment.