Skip to content

Commit 4736f50

Browse files
author
Julien Pivotto
committed
Call @proxy_set insteat of proxy_set in inline_template
This commit removes the following depreciation message: Variable access via 'proxy_set' is deprecated. Use '@proxy_set' instead.
1 parent 33b456b commit 4736f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/balancer.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
ensure => present,
7272
target => $target,
7373
order => '19',
74-
content => inline_template("<% proxy_set.keys.sort.each do |key| %> Proxyset <%= key %>=<%= proxy_set[key] %>\n<% end %>"),
74+
content => inline_template("<% @proxy_set.keys.sort.each do |key| %> Proxyset <%= key %>=<%= @proxy_set[key] %>\n<% end %>"),
7575
}
7676

7777
concat::fragment { "01-${name}-footer":

0 commit comments

Comments
 (0)