summaryrefslogtreecommitdiff
path: root/templates/itk_plus
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-05-31 11:38:45 +0200
committermh <mh@immerda.ch>2012-05-31 11:38:45 +0200
commit076909377eaa3aa41936e3acb7e02a9b5b14d493 (patch)
treedae4bd4d405ffe1ba75ea1d50763bfbecf9e1a19 /templates/itk_plus
parent4ff385d82bc0d300d501bf1fb41df8602c7c95a6 (diff)
fix various puppet language things
Diffstat (limited to 'templates/itk_plus')
-rw-r--r--templates/itk_plus/CentOS/00-listen-ssl.conf.erb2
-rw-r--r--templates/itk_plus/CentOS/00-listen.conf.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/itk_plus/CentOS/00-listen-ssl.conf.erb b/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
index 1c06433..83f7bee 100644
--- a/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
+++ b/templates/itk_plus/CentOS/00-listen-ssl.conf.erb
@@ -2,5 +2,5 @@
Listen 127.0.0.1:443
</IfDefine>
<IfDefine !HttpdLocal>
-Listen <%= ipaddress %>:443
+Listen <%= scope.lookupvar('::ipaddress') %>:443
</IfDefine>
diff --git a/templates/itk_plus/CentOS/00-listen.conf.erb b/templates/itk_plus/CentOS/00-listen.conf.erb
index 9f2c626..30b2046 100644
--- a/templates/itk_plus/CentOS/00-listen.conf.erb
+++ b/templates/itk_plus/CentOS/00-listen.conf.erb
@@ -3,6 +3,6 @@ Listen 127.0.0.1:80
PidFile run/httpdlocal.pid
</IfDefine>
<IfDefine !HttpdLocal>
-Listen <%= ipaddress %>:80
+Listen <%= scope.lookupvar('::ipaddress') %>:80
PidFile run/httpd.pid
</IfDefine>