fuel-plugin-lma-infrastruct.../deployment_scripts/puppet/manifests/Rakefile
Swann Croiset 0f4fe35c19 Update tests
- add lint and syntax test for Puppet manifests
- set env GEM_HOME to allow jenkins install gem locally

Change-Id: I4678088dc5ea9ef4cdd5e20feec9880538605067
2015-09-10 11:58:42 +02:00

14 lines
396 B
Ruby

require 'puppet-lint/tasks/puppet-lint'
require 'puppet-syntax/tasks/puppet-syntax'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')
desc "Run lint and syntax tests."
task :test => [
:lint,
:syntax,
]