summaryrefslogtreecommitdiff
path: root/manifests/virtual/http.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/virtual/http.pp')
-rw-r--r--manifests/virtual/http.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/virtual/http.pp b/manifests/virtual/http.pp
index efd3dca..bb8e232 100644
--- a/manifests/virtual/http.pp
+++ b/manifests/virtual/http.pp
@@ -5,7 +5,7 @@ class firewall::virtual::http($destination) {
destination => "fw:$destination:80",
proto => 'tcp',
destinationport => '80',
- originaldest => hiera('firewall::external_ip', $::ipaddress),
+ originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress),
ratelimit => '-',
order => 600,
}
@@ -16,7 +16,7 @@ class firewall::virtual::http($destination) {
destination => "vm:$destination:80",
proto => 'tcp',
destinationport => '80',
- originaldest => hiera('firewall::external_ip', $::ipaddress),
+ originaldest => lookup('firewall::external_ip', undef, undef, $::ipaddress),
ratelimit => '-',
order => 601,
}