Skip to content

Commit

Permalink
Merge pull request #296 from radford/avoid-global-root
Browse files Browse the repository at this point in the history
Stop using $root from upper scopes
  • Loading branch information
James Fryman committed Apr 14, 2014
2 parents e87864b + 60a9a82 commit 5ce606c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@
notify => Class['nginx::service'],
rewrite_rules => $rewrite_rules,
}
$root = undef
} else {
$root = $www_root
}
Expand Down

0 comments on commit 5ce606c

Please sign in to comment.