Skip to content

Commit

Permalink
Merge pull request voxpupuli#1007 from mattkenn4545/mattkenn4545-rege…
Browse files Browse the repository at this point in the history
…x-location

Remove unused variables
  • Loading branch information
rnelson0 authored Jan 25, 2017
2 parents 3f39b4c + 35fd42c commit 1f7031c
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 1f7031c

Please sign in to comment.