aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
blob: 8e7269f2d01d7d9c6b0b8faa8a19581f914c5edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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]