Skip to content

Commit

Permalink
Merge pull request #513 from 3flex/fix-future-parser-failures
Browse files Browse the repository at this point in the history
fix a future parser failure introduced by #510
  • Loading branch information
3flex committed Dec 4, 2014
2 parents 53c949a + f07058a commit 311e504
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -514,22 +514,22 @@

# Support location_cfg_prepend and location_cfg_append on default location created by vhost
if $location_cfg_prepend {
::Nginx::Resource::Location["${name_sanitized}-default"] {
Nginx::Resource::Location["${name_sanitized}-default"] {
location_cfg_prepend => $location_cfg_prepend }
}

if $location_cfg_append {
::Nginx::Resource::Location["${name_sanitized}-default"] {
Nginx::Resource::Location["${name_sanitized}-default"] {
location_cfg_append => $location_cfg_append }
}

if $location_custom_cfg_prepend {
::Nginx::Resource::Location["${name_sanitized}-default"] {
Nginx::Resource::Location["${name_sanitized}-default"] {
location_custom_cfg_prepend => $location_custom_cfg_prepend }
}

if $location_custom_cfg_append {
::Nginx::Resource::Location["${name_sanitized}-default"] {
Nginx::Resource::Location["${name_sanitized}-default"] {
location_custom_cfg_append => $location_custom_cfg_append }
}

Expand Down

0 comments on commit 311e504

Please sign in to comment.