85c7847648
Commit: 3de5612b350f820e665d946e0ac52970f3abf93f Source: https://github.com/camptocamp/puppet-openssl.git Change-Id: Ie13b45c166d632db1c7172d9a85d91690a66934a Related: blueprint merge-openstack-puppet-modules
15 lines
473 B
Ruby
15 lines
473 B
Ruby
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", "vendor/**/*.pp"]
|
|
|
|
PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]
|
|
|
|
desc "Lint metadata.json file"
|
|
task :metadata do
|
|
sh "metadata-json-lint metadata.json"
|
|
end
|