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