9613af654d
Change-Id: Ie94cbdbcada7e450844931f1ab85d265e449716a
14 lines
494 B
Ruby
14 lines
494 B
Ruby
require 'rubygems'
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet-lint/tasks/puppet-lint'
|
|
PuppetLint.configuration.fail_on_warnings = true
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
PuppetLint.configuration.send('disable_autoloader_layout')
|
|
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
|
|
|
desc "Lint metadata.json file"
|
|
task :metadata do
|
|
sh "metadata-json-lint metadata.json"
|
|
end
|