summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:32 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:32 -0400
commit99500c162d8bd5ed017112e7568272ad08adff6c (patch)
tree99fb52a1c98ed1b4a795c857b6de682645d671db /Rakefile
Squashed 'puppet/modules/augeas/' content from commit 27e3359
git-subtree-dir: puppet/modules/augeas git-subtree-split: 27e33591776f0226f78877df350d6a52995265d8
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 00000000..f87e6088
--- /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/**/*"]