From 8c2babfd529b4c1e0d3844afc08b728a05f61caa Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 21:06:40 -0300 Subject: Hiera 5 migration --- manifests/virtual/dns.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/virtual/dns.pp') diff --git a/manifests/virtual/dns.pp b/manifests/virtual/dns.pp index f389929..1bf3872 100644 --- a/manifests/virtual/dns.pp +++ b/manifests/virtual/dns.pp @@ -25,7 +25,7 @@ class firewall::virtual::dns($destination, $zone = 'vm') { destination => "fw:$destination:53", proto => 'tcp', destinationport => '53', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2002, } @@ -46,7 +46,7 @@ class firewall::virtual::dns($destination, $zone = 'vm') { destination => "fw:$destination:53", proto => 'udp', destinationport => '53', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2004, } -- cgit v1.2.3