| 1 |
# frozen_string_literal: true |
| 2 |
|
| 3 |
require 'bundler' |
| 4 |
require 'puppet_litmus/rake_tasks' if Gem.loaded_specs.key? 'puppet_litmus' |
| 5 |
require 'puppetlabs_spec_helper/rake_tasks' |
| 6 |
require 'puppet-syntax/tasks/puppet-syntax' |
| 7 |
require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings' |
| 8 |
|
| 9 |
PuppetLint.configuration.send('disable_relative') |
| 10 |
PuppetLint.configuration.send('disable_80chars') |
| 11 |
PuppetLint.configuration.send('disable_140chars') |
| 12 |
PuppetLint.configuration.send('disable_class_inherits_from_params_class') |
| 13 |
PuppetLint.configuration.send('disable_autoloader_layout') |
| 14 |
PuppetLint.configuration.send('disable_documentation') |
| 15 |
PuppetLint.configuration.send('disable_single_quote_string_with_variables') |
| 16 |
PuppetLint.configuration.fail_on_warnings = true |
| 17 |
PuppetLint.configuration.ignore_paths = [".vendor/**/*.pp", ".bundle/**/*.pp", "pkg/**/*.pp", "spec/**/*.pp", "tests/**/*.pp", "types/**/*.pp", "vendor/**/*.pp"] |
| 18 |
|