fuel-plugin-lma-collector/deployment_scripts/puppet/manifests/Rakefile
Simon Pasquier 6c661bc615 Add tox environment to test Puppet manifests
This change adds syntax checking and lint tests for the Puppet
manifests locates in deployment_scripts/puppet/manifests.

It also fixes a Puppet lint problem in base.pp as well as illegal key
assignments that aren't allowed with Puppet 4.x.

Change-Id: I3a6913773d3c3952e882db5644b8cc2289cee8fa
2015-09-09 15:09:40 +02:00

14 lines
397 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,
]