From 076909377eaa3aa41936e3acb7e02a9b5b14d493 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 31 May 2012 11:38:45 +0200 Subject: fix various puppet language things --- templates/default/default_index.erb | 4 ++-- templates/itk_plus/CentOS/00-listen-ssl.conf.erb | 2 +- templates/itk_plus/CentOS/00-listen.conf.erb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/default/default_index.erb b/templates/default/default_index.erb index dbe9954..b35ecd9 100644 --- a/templates/default/default_index.erb +++ b/templates/default/default_index.erb @@ -1,13 +1,13 @@ - <%= hostname %> + <%= scope.lookupvar('::hostname') %>

No page @ this location

- <%= hostname %> + <%= scope.lookupvar('::hostname') %>

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 -Listen <%= ipaddress %>:443 +Listen <%= scope.lookupvar('::ipaddress') %>:443 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 -Listen <%= ipaddress %>:80 +Listen <%= scope.lookupvar('::ipaddress') %>:80 PidFile run/httpd.pid -- cgit v1.2.3