remove ensure from concat::fragment as its deprecated
This commit is contained in:
parent
3f95e281b9
commit
7912f0074b
3 changed files with 0 additions and 6 deletions
|
@ -348,7 +348,6 @@ define nginx::resource::location (
|
|||
$tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")
|
||||
|
||||
concat::fragment { $tmpFile:
|
||||
ensure => $ensure,
|
||||
target => $config_file,
|
||||
content => join([
|
||||
template('nginx/vhost/location_header.erb'),
|
||||
|
@ -365,7 +364,6 @@ define nginx::resource::location (
|
|||
|
||||
$sslTmpFile=md5("${vhost_sanitized}-${ssl_priority}-${location_sanitized}-ssl")
|
||||
concat::fragment { $sslTmpFile:
|
||||
ensure => $ensure,
|
||||
target => $config_file,
|
||||
content => join([
|
||||
template('nginx/vhost/location_header.erb'),
|
||||
|
|
|
@ -133,7 +133,6 @@ define nginx::resource::mailhost (
|
|||
|
||||
if ($listen_port != $ssl_port) {
|
||||
concat::fragment { "${name}-header":
|
||||
ensure => present,
|
||||
target => $config_file,
|
||||
content => template('nginx/mailhost/mailhost.erb'),
|
||||
order => '001',
|
||||
|
@ -143,7 +142,6 @@ define nginx::resource::mailhost (
|
|||
# Create SSL File Stubs if SSL is enabled
|
||||
if ($ssl) {
|
||||
concat::fragment { "${name}-ssl":
|
||||
ensure => present,
|
||||
target => $config_file,
|
||||
content => template('nginx/mailhost/mailhost_ssl.erb'),
|
||||
order => '700',
|
||||
|
|
|
@ -571,7 +571,6 @@ define nginx::resource::vhost (
|
|||
|
||||
if ($listen_port != $ssl_port) {
|
||||
concat::fragment { "${name_sanitized}-header":
|
||||
ensure => present,
|
||||
target => $config_file,
|
||||
content => template('nginx/vhost/vhost_header.erb'),
|
||||
order => '001',
|
||||
|
@ -581,7 +580,6 @@ define nginx::resource::vhost (
|
|||
# Create a proper file close stub.
|
||||
if ($listen_port != $ssl_port) {
|
||||
concat::fragment { "${name_sanitized}-footer":
|
||||
ensure => present,
|
||||
target => $config_file,
|
||||
content => template('nginx/vhost/vhost_footer.erb'),
|
||||
order => '699',
|
||||
|
|
Loading…
Reference in a new issue