Ensure isn't being respected on locations.

This commit is contained in:
Kevin Wolf 2015-10-29 13:27:07 -05:00
parent d5bdfb252c
commit 49e3b06aa1

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'),