summaryrefslogtreecommitdiff
path: root/manifests/virtual/jabber.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/virtual/jabber.pp')
-rw-r--r--manifests/virtual/jabber.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/virtual/jabber.pp b/manifests/virtual/jabber.pp
index 0bba4e9..703b9a9 100644
--- a/manifests/virtual/jabber.pp
+++ b/manifests/virtual/jabber.pp
@@ -15,7 +15,7 @@ class firewall::virtual::jabber($destination, $zone = 'fw') {
destination => "$zone:$destination:5223",
proto => 'tcp',
destinationport => '5223',
- originaldest => hiera('firewall::external_ip', $::ipaddress),
+ originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress),
ratelimit => '-',
order => 2201,
}
@@ -36,7 +36,7 @@ class firewall::virtual::jabber($destination, $zone = 'fw') {
destination => "$zone:$destination:4369",
proto => 'tcp',
destinationport => '4369',
- originaldest => hiera('firewall::external_ip', $::ipaddress),
+ originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress),
ratelimit => '-',
order => 2203,
}
@@ -47,7 +47,7 @@ class firewall::virtual::jabber($destination, $zone = 'fw') {
destination => "$zone:$destination:4370",
proto => 'tcp',
destinationport => '4370:4375',
- originaldest => hiera('firewall::external_ip', $::ipaddress),
+ originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress),
ratelimit => '-',
order => 2204,
}