2013-06-05 18:35:34 +02:00
|
|
|
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'
|
|
|
|
|
|
|
|
task :default => [:clean, :spec]
|
2014-09-26 23:11:39 +02:00
|
|
|
|
2015-05-07 22:30:29 +02:00
|
|
|
PuppetLint.configuration.fail_on_warnings = true
|
2014-09-26 23:11:39 +02:00
|
|
|
PuppetLint.configuration.send('relative')
|
|
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
2014-12-10 15:02:59 +01:00
|
|
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
2014-09-26 23:11:39 +02:00
|
|
|
PuppetLint.configuration.send('disable_documentation')
|
2014-12-10 15:02:59 +01:00
|
|
|
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
|
|
|
|
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
|