aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
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]