diff options
Diffstat (limited to 'manifests/virtual/tor.pp')
-rw-r--r-- | manifests/virtual/tor.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/virtual/tor.pp b/manifests/virtual/tor.pp index f4a1cb6..7cca6d6 100644 --- a/manifests/virtual/tor.pp +++ b/manifests/virtual/tor.pp @@ -15,7 +15,7 @@ class firewall::virtual::tor($destination, $zone = 'vm') { destination => "fw:$destination:9000", proto => 'tcp', destinationport => '9000', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2101, } @@ -36,7 +36,7 @@ class firewall::virtual::tor($destination, $zone = 'vm') { destination => "fw:$destination:9001", proto => 'tcp', destinationport => '9001', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2103, } @@ -57,7 +57,7 @@ class firewall::virtual::tor($destination, $zone = 'vm') { destination => "fw:$destination:9100", proto => 'tcp', destinationport => '9100', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2105, } @@ -78,7 +78,7 @@ class firewall::virtual::tor($destination, $zone = 'vm') { destination => "fw:$destination:9101", proto => 'tcp', destinationport => '9101', - originaldest => hiera('firewall::external_ip', $::ipaddress), + originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress), ratelimit => '-', order => 2107, } |