puppet-github/Rakefile
Spencer Krum 9613af654d Adding initial files per spec
Change-Id: Ie94cbdbcada7e450844931f1ab85d265e449716a
2014-11-28 02:48:05 -08:00

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