Supress warnings with concat 2.x

This commit is contained in:
Brandon Weeks 2016-02-02 17:40:42 -08:00
parent 3e71867960
commit e40ce7cea6
2 changed files with 0 additions and 3 deletions

View file

@ -379,7 +379,6 @@ define nginx::resource::location (
$location_md5 = md5($location) $location_md5 = md5($location)
if ($ssl_only != true) { if ($ssl_only != true) {
concat::fragment { "${vhost_sanitized}-${priority}-${location_md5}": concat::fragment { "${vhost_sanitized}-${priority}-${location_md5}":
ensure => $ensure_real,
target => $config_file, target => $config_file,
content => join([ content => join([
template('nginx/vhost/location_header.erb'), template('nginx/vhost/location_header.erb'),
@ -395,7 +394,6 @@ define nginx::resource::location (
$ssl_priority = $priority + 300 $ssl_priority = $priority + 300
concat::fragment { "${vhost_sanitized}-${ssl_priority}-${location_md5}-ssl": concat::fragment { "${vhost_sanitized}-${ssl_priority}-${location_md5}-ssl":
ensure => $ensure_real,
target => $config_file, target => $config_file,
content => join([ content => join([
template('nginx/vhost/location_header.erb'), template('nginx/vhost/location_header.erb'),

View file

@ -52,7 +52,6 @@ define nginx::resource::upstream::member (
# Uses: $server, $port, $upstream_fail_timeout # Uses: $server, $port, $upstream_fail_timeout
concat::fragment { "${upstream}_upstream_member_${name}": concat::fragment { "${upstream}_upstream_member_${name}":
ensure => $ensure_real,
target => "${::nginx::config::conf_dir}/conf.d/${upstream}-upstream.conf", target => "${::nginx::config::conf_dir}/conf.d/${upstream}-upstream.conf",
order => 40, order => 40,
content => template('nginx/conf.d/upstream_member.erb'), content => template('nginx/conf.d/upstream_member.erb'),