blob: 5cf3aa81825b8ced1a3a3ca11d3947291234b4b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings
PuppetLint.configuration.send('relative')
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
desc "Lint metadata.json file"
task :metadata do
sh "metadata-json-lint metadata.json"
end
|