Skip to content

Commit

Permalink
Merge pull request #1007 from mattkenn4545/mattkenn4545-regex-location
Browse files Browse the repository at this point in the history
Remove unused variables
  • Loading branch information
rnelson0 authored Jan 25, 2017
2 parents ad35502 + 18bfcb6 commit d56edad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@

$config_file = "${server_dir}/${server_sanitized}.conf"

$location_sanitized_tmp = regsubst($location, '\/', '_', 'G')
$location_sanitized = regsubst($location_sanitized_tmp, '\\\\', '_', 'G')

if $ensure == present and $fastcgi != undef and !defined(File[$fastcgi_params]) {
file { $fastcgi_params:
ensure => present,
Expand Down

0 comments on commit d56edad

Please sign in to comment.