f0753b6551
You can't set 'ignore_paths' in .puppet-lint.rc and having config in two places is confusing.
18 lines
561 B
Ruby
18 lines
561 B
Ruby
require 'bundler'
|
|
Bundler.require(:rake)
|
|
require 'rake/clean'
|
|
|
|
CLEAN.include('spec/fixtures/', 'doc', 'pkg')
|
|
CLOBBER.include('.tmp', '.librarian')
|
|
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet_blacksmith/rake_tasks'
|
|
require 'rspec-system/rake_task'
|
|
|
|
task :default => [:clean, :spec]
|
|
|
|
PuppetLint.configuration.fail_on_warnings
|
|
PuppetLint.configuration.send('relative')
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
|
PuppetLint.configuration.send('disable_documentation')
|