2014-01-25 19:08:04 +01:00
|
|
|
require 'bundler'
|
|
|
|
Bundler.require(:rake)
|
|
|
|
|
|
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
|
|
require 'puppet-lint/tasks/puppet-lint'
|
|
|
|
require 'rspec-system/rake_task'
|
|
|
|
|
|
|
|
PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
|
|
|
|
PuppetLint.configuration.send("disable_80chars")
|
|
|
|
|
|
|
|
puppet_module='sshd'
|
|
|
|
task :librarian_spec_prep do
|
2014-01-26 18:35:44 +01:00
|
|
|
sh 'librarian-puppet install --path=spec/fixtures/modules/'
|
2014-01-25 19:08:04 +01:00
|
|
|
end
|
|
|
|
task :spec_prep => :librarian_spec_prep
|
2014-01-26 18:35:44 +01:00
|
|
|
task :default => [:spec, :lint]
|