Skip to content

Commit

Permalink
Merge pull request voxpupuli#625 from Tombar/concat-fix
Browse files Browse the repository at this point in the history
remove ensure from concat::fragment as its deprecated
  • Loading branch information
3flex committed May 7, 2015
2 parents 9ba5527 + 1ae5b39 commit 6f657ab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions manifests/resource/location.pp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@
$tmpFile=md5("${vhost_sanitized}-${priority}-${location_sanitized}")

concat::fragment { $tmpFile:
ensure => $ensure,
target => $config_file,
content => join([
template('nginx/vhost/location_header.erb'),
Expand All @@ -365,7 +364,6 @@

$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'),
Expand Down
2 changes: 0 additions & 2 deletions manifests/resource/mailhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@

if ($listen_port != $ssl_port) {
concat::fragment { "${name}-header":
ensure => present,
target => $config_file,
content => template('nginx/mailhost/mailhost.erb'),
order => '001',
Expand All @@ -143,7 +142,6 @@
# 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',
Expand Down
2 changes: 0 additions & 2 deletions manifests/resource/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@

if ($listen_port != $ssl_port) {
concat::fragment { "${name_sanitized}-header":
ensure => present,
target => $config_file,
content => template('nginx/vhost/vhost_header.erb'),
order => '001',
Expand All @@ -581,7 +580,6 @@
# 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',
Expand Down

0 comments on commit 6f657ab

Please sign in to comment.