Files
fuel-plugin-influxdb-grafana/deployment_scripts/puppet/manifests/Rakefile
Simon Pasquier 4b39101bd2 Add tox environment to test Puppet manifests
This change adds syntax checking and lint tests for the Puppet
manifests located in deployment_scripts/puppet/manifests.

Change-Id: I943913ab56338e6cc64ec4cf07dae46d237d2f6c
2015-10-09 10:58:49 +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,
]