From df0381be83bed3f81837bd6c5011c4e06830d868 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 8 Mar 2017 18:18:02 +0100 Subject: [PATCH] change http_cfg_prepend default false->undef --- manifests/init.pp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 84baaf474..126a5a4b6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -83,7 +83,7 @@ $gzip_proxied = 'off', $gzip_types = undef, $gzip_vary = 'off', - $http_cfg_prepend = false, + $http_cfg_prepend = undef, $http_cfg_append = undef, $http_tcp_nodelay = 'on', $http_tcp_nopush = 'off', @@ -220,17 +220,6 @@ } validate_string($proxy_buffers) validate_string($proxy_buffer_size) - if ($http_cfg_prepend != false) { - if !(is_hash($http_cfg_prepend) or is_array($http_cfg_prepend)) { - fail('$http_cfg_prepend must be either a hash or array') - } - } - - if ($nginx_cfg_prepend != false) { - if !(is_hash($nginx_cfg_prepend) or is_array($nginx_cfg_prepend)) { - fail('$nginx_cfg_prepend must be either a hash or array') - } - } if !(is_string($http_access_log) or is_array($http_access_log)) { fail('$http_access_log must be either a string or array')