5487d0fec6
Add the Rakefile file: * add dependency rubygems * disable 80 chars check * disable two-space soft tabs check * disable arrow alignment check * disable selector inside resource check * disable class parameter defaults The remaining work is in the correction puppet code specifications Change-Id: Id6caeacc10b07898af06768f6dde5261d9ea5f89 Closes-Bug: #1338477
12 lines
542 B
Ruby
12 lines
542 B
Ruby
require 'rubygems'
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet-lint/tasks/puppet-lint'
|
|
PuppetLint.configuration.send('disable_80chars')
|
|
PuppetLint.configuration.send('disable_2sp_soft_tabs')
|
|
PuppetLint.configuration.send('disable_arrow_alignment')
|
|
PuppetLint.configuration.send('disable_autoloader_layout')
|
|
PuppetLint.configuration.send('disable_selector_inside_resource')
|
|
|
|
# Disable check due to upstream bug: https://github.com/rodjek/puppet-lint/issues/170
|
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|