forked from voxpupuli/puppet-ca_cert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
17 lines (15 loc) · 712 Bytes
/
Rakefile
File metadata and controls
17 lines (15 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'puppet-lint/tasks/puppet-lint'
require 'puppetlabs_spec_helper/rake_tasks'
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_documentation')
PuppetLint.configuration.send('disable_variable_is_lowercase')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
desc "Parallel spec tests"
task :parallel_spec do
Rake::Task[:spec_prep].invoke
ParallelTests::CLI.new.run('--type test -t rspec spec/classes spec/defines'.split)
Rake::Task[:spec_clean].invoke
end