Ensure isn't being respected on locations.
This commit is contained in:
parent
d5bdfb252c
commit
49e3b06aa1
1 changed files with 2 additions and 0 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue