Commit 9ad3c40a authored by Walter Heck's avatar Walter Heck

Fixing lint to be able to be run local with simple 'rake lint'

parent 26ed94b0
......@@ -11,8 +11,18 @@ end
PuppetLint.configuration.send('disable_documentation')
PuppetLint.configuration.send('disable_80chars')
PuppetSyntax.exclude_paths = [ "vendor/**/*.*" ]
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
PuppetSyntax.exclude_paths = [
"vendor/**/*.*",
"modules/**/*.pp",
"deploy/packer/manifests/modules/**/**/*.pp"
]
PuppetLint.configuration.ignore_paths = [
"spec/**/*.pp",
"pkg/**/*.pp",
"vendor/**/*.pp",
"modules/**/*.pp",
"deploy/packer/manifests/modules/**/**/*.pp"
]
# Alternative configuration until https://github.com/rodjek/puppet-lint/pull/397 gets merged
Rake::Task[:lint].clear
......
......@@ -13,11 +13,11 @@ class opstheater::profile::grafana {
class { '::grafana':
install_method => $install_method,
cfg => {
cfg => {
server => {
http_port => 80,
},
smtp => {
smtp => {
enabled => true,
from_address => "grafana@${domain}",
host => "${smtp_address}:${smtp_port}",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment