Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
22 lines (17 sloc) 623 Bytes
require 'rake'
require 'rspec/core/rake_task'
require 'puppet-lint/tasks/puppet-lint'
require 'puppetlabs_spec_helper/rake_tasks'
# See: https://github.com/rodjek/puppet-lint/issues/331
Rake::Task[:lint].clear
PuppetLint::RakeTask.new :lint do |config|
config.ignore_paths = ["pkg/**/*.pp",
"templates/**/*.*",
"files/**/*.*",
"spec/**/*.*",
"vendor/**/*.*",
"vagrant/**/*.pp"]
config.disable_checks = ["autoloader_layout"]
end
Rake::Task[:default].clear
task :default => ["spec", "lint"]
You can’t perform that action at this time.