163556f769
It was removed in puppet-lint 2.0.0. Leaving it in will fail the build.
19 lines
700 B
Ruby
19 lines
700 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'
|
|
|
|
task :default => [:clean, :spec]
|
|
|
|
PuppetLint.configuration.fail_on_warnings = true
|
|
PuppetLint.configuration.send('relative')
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
|
PuppetLint.configuration.send('disable_documentation')
|
|
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
|
|
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
|