summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-07-02 19:22:35 +0200
committerEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-07-02 19:24:27 +0200
commit42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (patch)
treec6776e08e8e7a5398f84a0563d5a229dd8dc6171 /Rakefile
parentaaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd (diff)
Add basic testing infrastructure
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..0d1f018
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,9 @@
+require 'puppetlabs_spec_helper/rake_tasks'
+require 'puppet-lint/tasks/puppet-lint'
+
+PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "vendor/**/*.pp"]
+PuppetLint.configuration.log_format = '%{path}:%{linenumber}:%{KIND}: %{message}'
+PuppetLint.configuration.send("disable_class_inherits_from_params_class")
+PuppetLint.configuration.send("disable_80chars")
+
+task :default => [:spec, :lint]