Puppet-lint fixes
This commit is contained in:
parent
0030399d34
commit
f0f00c6ca8
5 changed files with 28 additions and 31 deletions
|
@ -281,7 +281,6 @@ define nginx::resource::location (
|
|||
|
||||
## Create stubs for vHost File Fragment Pattern
|
||||
if ($ssl_only != true) {
|
||||
|
||||
$tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")
|
||||
|
||||
concat::fragment { "${tmpFile}":
|
||||
|
@ -294,11 +293,9 @@ define nginx::resource::location (
|
|||
|
||||
## Only create SSL Specific locations if $ssl is true.
|
||||
if ($ssl == true) {
|
||||
|
||||
$ssl_priority = $priority + 300
|
||||
|
||||
$sslTmpFile=md5("${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl")
|
||||
|
||||
concat::fragment {"${sslTmpFile}":
|
||||
ensure => present,
|
||||
target => $config_file,
|
||||
|
|
Loading…
Reference in a new issue