--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/provisioning/modules/elasticsearch/Rakefile Fri Jan 15 15:35:00 2016 +0100
@@ -0,0 +1,28 @@
+require 'rubygems'
+require 'puppetlabs_spec_helper/rake_tasks'
+
+exclude_paths = [
+ "pkg/**/*",
+ "vendor/**/*",
+ "spec/**/*",
+]
+
+require 'puppet-doc-lint/rake_task'
+PuppetDocLint.configuration.ignore_paths = exclude_paths
+
+require 'puppet-lint/tasks/puppet-lint'
+require 'puppet-syntax/tasks/puppet-syntax'
+
+PuppetSyntax.exclude_paths = exclude_paths
+PuppetSyntax.future_parser = true if ENV['FUTURE_PARSER'] == 'true'
+
+disable_checks = [
+ '80chars',
+ 'class_inherits_from_params_class',
+ 'class_parameter_defaults',
+ 'documentation',
+ 'single_quote_string_with_variables'
+].each { |check| PuppetLint.configuration.send("disable_#{check}") }
+
+PuppetLint.configuration.ignore_paths = exclude_paths
+PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"