blob: 47d75d89c480339e3ff6a2ae1109e5493e26ef8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings
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
|