20 خطوط
749 B
Ruby
20 خطوط
749 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_80chars')
|
|
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"]
|