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/icecast.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/virtual/icecast.pp') diff --git a/manifests/virtual/icecast.pp b/manifests/virtual/icecast.pp index 1681f18..3c392b6 100644 --- a/manifests/virtual/icecast.pp +++ b/manifests/virtual/icecast.pp @@ -15,7 +15,7 @@ class firewall::virtual::icecast($destination, $zone = 'fw') { destination => "$zone:$destination:8000", proto => 'tcp', destinationport => '8000', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 901, } -- cgit v1.2.3