From 292d2c28d7417a8f735a7bdf947ab73cce898372 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 3 Jul 2014 11:45:03 -0700 Subject: [PATCH] Fix failing lint tests Disabled checking for only variables in strings and fixed trailing spaces. --- Rakefile | 1 + manifests/mod/dav_svn.pp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 5868545f2..e1f7f013c 100644 --- a/Rakefile +++ b/Rakefile @@ -7,4 +7,5 @@ PuppetLint.configuration.send('disable_class_inherits_from_params_class') PuppetLint.configuration.send('disable_class_parameter_defaults') PuppetLint.configuration.send('disable_documentation') PuppetLint.configuration.send('disable_single_quote_string_with_variables') +PuppetLint.configuration.send('disable_only_variable_string') PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] diff --git a/manifests/mod/dav_svn.pp b/manifests/mod/dav_svn.pp index 0fd667bc3..98166c7fc 100644 --- a/manifests/mod/dav_svn.pp +++ b/manifests/mod/dav_svn.pp @@ -3,8 +3,8 @@ ) { Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn'] include ::apache::mod::dav - ::apache::mod { 'dav_svn': } - + ::apache::mod { 'dav_svn': } + if $authz_svn_enabled { ::apache::mod { 'authz_svn': loadfile_name => 'dav_svn_authz_svn.load',