summaryrefslogtreecommitdiff
path: root/Rakefile
blob: e3213518a603f52af0a091bf6ffb1ea0e5dbfa7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
  sh 'librarian-puppet install --path=spec/fixtures/modules/'
end
task :spec_prep => :librarian_spec_prep
task :default => [:spec, :lint]