Merge pull request #705 from kwolf/master

Ensure isn't being respected on locations.
This commit is contained in:
Matthew Haughton 2015-11-05 10:52:12 -05:00
commit 0c7973b20c

View file

@ -380,6 +380,7 @@ define nginx::resource::location (
$tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")
concat::fragment { $tmpFile:
ensure => $ensure_real,
target => $config_file,
content => join([
template('nginx/vhost/location_header.erb'),
@ -396,6 +397,7 @@ define nginx::resource::location (
$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'),