diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 21:06:40 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 21:06:40 -0300 |
commit | 8c2babfd529b4c1e0d3844afc08b728a05f61caa (patch) | |
tree | 8f44d74d79fa2f0aa62f1987d0197cb1aaa706a7 /manifests/virtual/gobby.pp | |
parent | e06d326f0be9f69bf4fa3b695f898c1cb9c5b200 (diff) | |
download | puppet-firewall-8c2babfd529b4c1e0d3844afc08b728a05f61caa.tar.gz puppet-firewall-8c2babfd529b4c1e0d3844afc08b728a05f61caa.tar.bz2 |
Hiera 5 migration
Diffstat (limited to 'manifests/virtual/gobby.pp')
-rw-r--r-- | manifests/virtual/gobby.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/virtual/gobby.pp b/manifests/virtual/gobby.pp index 162fe1d..cc2c9fe 100644 --- a/manifests/virtual/gobby.pp +++ b/manifests/virtual/gobby.pp @@ -5,7 +5,7 @@ class firewall::virtual::gobby($destination) { destination => "fw:$destination:6523", proto => 'tcp', destinationport => '6523', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2400, } @@ -16,7 +16,7 @@ class firewall::virtual::gobby($destination) { destination => "vm:$destination:6523", proto => 'tcp', destinationport => '6523', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2400, } |