Migrating into modulesync

This commit is contained in:
t0xicCode
2015-04-23 14:32:48 -04:00
parent d464846637
commit 8d8e63ef40
10 changed files with 234 additions and 27 deletions

View File

@ -1,7 +1,10 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('relative')
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
desc "Validate manifests, templates, and ruby files"
@ -16,3 +19,4 @@ task :validate do
sh "erb -P -x -T '-' #{template} | ruby -c"
end
end