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/https.pp | |
parent | e06d326f0be9f69bf4fa3b695f898c1cb9c5b200 (diff) | |
download | puppet-firewall-8c2babfd529b4c1e0d3844afc08b728a05f61caa.tar.gz puppet-firewall-8c2babfd529b4c1e0d3844afc08b728a05f61caa.tar.bz2 |
Hiera 5 migration
Diffstat (limited to 'manifests/virtual/https.pp')
-rw-r--r-- | manifests/virtual/https.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/virtual/https.pp b/manifests/virtual/https.pp index 36e0c9f..70a10a4 100644 --- a/manifests/virtual/https.pp +++ b/manifests/virtual/https.pp @@ -5,8 +5,8 @@ class firewall::virtual::https($destination) { destination => "fw:$destination:443", proto => 'tcp', destinationport => '443', - originaldest => hiera('firewall::external_ip', $::ipaddress), - ratelimit => hiera("firewall::ssl_ratelimit", '-'), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), + ratelimit => lookup("firewall::ssl_ratelimit", undef, undef, '-'), order => 602, } @@ -16,8 +16,8 @@ class firewall::virtual::https($destination) { destination => "vm:$destination:443", proto => 'tcp', destinationport => '443', - originaldest => hiera('firewall::external_ip', $::ipaddress), - ratelimit => hiera("firewall::ssl_ratelimit", '-'), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), + ratelimit => lookup("firewall::ssl_ratelimit", undef, undef, '-'), order => 602, } } |