aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-10-25 00:30:33 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-10-25 00:30:33 -0400
commit0571cbf053ac3aa456a49bc3cb0a4e040ec737b8 (patch)
tree7c6651b068b5ac4bb136aed9ef98e374882c094b /Rakefile
parent4ca06356889b0b653ad0fc4593c617ab9b0b1b31 (diff)
downloadpuppet-samba-0571cbf053ac3aa456a49bc3cb0a4e040ec737b8.tar.gz
puppet-samba-0571cbf053ac3aa456a49bc3cb0a4e040ec737b8.tar.bz2
add puppet-lint
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..8e7269f
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,16 @@
+require 'puppet'
+require 'rake'
+require 'puppet-lint/tasks/puppet-lint'
+
+# Leave this in until we're ready to write documentation
+PuppetLint.configuration.send("disable_documentation")
+
+# Ruby's version of true does not equate to puppet's version of true
+PuppetLint.configuration.send("disable_quoted_booleans")
+PuppetLint.configuration.send("disable_selector_inside_resource")
+PuppetLint.configuration.send("disable_autoloader_layout")
+PuppetLint.configuration.send("disable_80chars")
+PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"
+
+desc "Run puppet-lint"
+task :default => [:lint]