Rakefile 384 Bytes
Newer Older
Raphaël Pinson's avatar
Raphaël Pinson committed
1
require 'puppetlabs_spec_helper/rake_tasks'
2
require 'puppet-lint/tasks/puppet-lint'
Raphaël Pinson's avatar
Raphaël Pinson committed
3

4
PuppetLint.configuration.fail_on_warnings
5
PuppetLint.configuration.send('relative')
6 7
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
Raphaël Pinson's avatar
Raphaël Pinson committed
8 9 10 11 12

desc "Lint metadata.json file"
task :metadata do
  sh "metadata-json-lint metadata.json"
end