diff --git a/manifests/resource/location.pp b/manifests/resource/location.pp index c57de66e7..e8c27fee1 100644 --- a/manifests/resource/location.pp +++ b/manifests/resource/location.pp @@ -407,13 +407,6 @@ $config_file = "${server_dir}/${server_sanitized}.conf" - if !($location =~ /^~/) { - $location_sanitized_tmp = regsubst($location, '\/', '_', 'G') - $location_sanitized = regsubst($location_sanitized_tmp, '\\\\', '_', 'G') - } else { - $location_sanitized = $location_sanitized_tmp - } - if $ensure == present and $fastcgi != undef and !defined(File[$fastcgi_params]) { file { $fastcgi_params: ensure => present,