From 8a484d18fcc38ce9c40664631dd3ed5276c9c5ea Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 8 Mar 2017 18:22:07 +0100 Subject: [PATCH] change proxy_cache_path default false->undef --- manifests/init.pp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 2de6ac5ed..4e2376a6d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -102,7 +102,7 @@ $proxy_cache_keys_zone = 'd2:100m', $proxy_cache_levels = '1', $proxy_cache_max_size = '500m', - $proxy_cache_path = false, + $proxy_cache_path = undef, $proxy_cache_loader_files = undef, $proxy_cache_loader_sleep = undef, $proxy_cache_loader_threshold = undef, @@ -189,12 +189,6 @@ validate_bool($confd_only) validate_bool($confd_purge) validate_bool($server_purge) - if ( $proxy_cache_path != false) { - if ( is_string($proxy_cache_path) or is_hash($proxy_cache_path)) {} - else { - fail('proxy_cache_path must be a string or a hash') - } - } validate_re($proxy_cache_levels, '^[12](:[12])*$') validate_string($proxy_cache_keys_zone) validate_string($proxy_cache_max_size)