From 4736f50933d140d543fcbd13330105e1c51f45b6 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Mon, 11 Aug 2014 14:39:21 +0200 Subject: [PATCH] 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. --- manifests/balancer.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/balancer.pp b/manifests/balancer.pp index 173aaec2d..b836897c4 100644 --- a/manifests/balancer.pp +++ b/manifests/balancer.pp @@ -71,7 +71,7 @@ ensure => present, target => $target, order => '19', - content => inline_template("<% proxy_set.keys.sort.each do |key| %> Proxyset <%= key %>=<%= proxy_set[key] %>\n<% end %>"), + content => inline_template("<% @proxy_set.keys.sort.each do |key| %> Proxyset <%= key %>=<%= @proxy_set[key] %>\n<% end %>"), } concat::fragment { "01-${name}-footer":