Revision 2a616445
Added by Justin Sherrill almost 10 years ago
modules/apache/manifests/balancer.pp | ||
---|---|---|
}
|
||
|
||
concat::fragment { "00-${name}-header":
|
||
ensure => present,
|
||
target => $target,
|
||
order => '01',
|
||
content => "<Proxy balancer://${name}>\n",
|
||
... | ... | |
# concat fragments. We don't have to do anything about them.
|
||
|
||
concat::fragment { "01-${name}-proxyset":
|
||
ensure => present,
|
||
target => $target,
|
||
order => '19',
|
||
content => inline_template("<% proxy_set.each do |key, value| %> Proxyset <%= key %>=<%= value %>\n<% end %>"),
|
||
content => inline_template("<% proxy_set.keys.sort.each do |key| %> Proxyset <%= key %>=<%= proxy_set[key] %>\n<% end %>"),
|
||
}
|
||
|
||
concat::fragment { "01-${name}-footer":
|
||
ensure => present,
|
||
target => $target,
|
||
order => '20',
|
||
content => "</Proxy>\n",
|
Also available in: Unified diff
Refs #5029 - specify inital org and location