summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-03-12 11:19:58 +0100
committervarac <varacanero@zeromail.org>2015-03-12 11:19:58 +0100
commit58ab2b90c52a5d951fa41596827bc3b6f52310e7 (patch)
tree99fb52a1c98ed1b4a795c857b6de682645d671db /Rakefile
parent3174a2d0f8e453067a64428bad8af92fe98c53f1 (diff)
parente7d20abe6f2ecc99531d70155a2589406f187f74 (diff)
Merge remote-tracking branch 'camptocamp/master' into leap_master
Conflicts: README
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..f87e608
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,11 @@
+require 'puppetlabs_spec_helper/rake_tasks'
+require 'puppet-lint/tasks/puppet-lint'
+
+Rake::Task[:lint].clear
+PuppetLint::RakeTask.new :lint do |config|
+ config.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
+ config.disable_checks = ['80chars']
+ config.fail_on_warnings = true
+end
+
+PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]