Skip to content

Commit

Permalink
Merge pull request #705 from kwolf/master
Browse files Browse the repository at this point in the history
Ensure isn't being respected on locations.
  • Loading branch information
3flex committed Nov 5, 2015
2 parents cae1e8f + 49e3b06 commit 0c7973b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@
$tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")

concat::fragment { $tmpFile:
ensure => $ensure_real,
target => $config_file,
content => join([
template('nginx/vhost/location_header.erb'),
Expand All @@ -396,6 +397,7 @@

$sslTmpFile=md5("${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl")
concat::fragment { $sslTmpFile:
ensure => $ensure_real,
target => $config_file,
content => join([
template('nginx/vhost/location_header.erb'),
Expand Down

0 comments on commit 0c7973b

Please sign in to comment.