summaryrefslogtreecommitdiff
path: root/templates/default/default_index.erb
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-12 13:23:29 -0400
committerMicah Anderson <micah@riseup.net>2013-04-12 14:37:28 -0400
commit115691c87bad3f5863f088e73603133b67c9f828 (patch)
treebbfd7b5c0d0c220ef3e52eb25acd4595a46b85d0 /templates/default/default_index.erb
parent2401aae6c4785c1e6a777756bebe70c38b889727 (diff)
parent5ec141dfbf218dd9b2f2611d788db98f74e65073 (diff)
Merge remote-tracking branch 'immerda/master'
Fixed apache_no_default_site variable to be a parameter to the apache class (no_default_site = false) Conflicts: files/include.d/Debian/ssl_defaults.inc manifests/base.pp manifests/config/file.pp manifests/vhost.pp manifests/vhost/php/standard.pp manifests/vhost/template.pp templates/vhosts/php/CentOS.erb templates/vhosts/php/Debian.erb
Diffstat (limited to 'templates/default/default_index.erb')
-rw-r--r--templates/default/default_index.erb4
1 files changed, 2 insertions, 2 deletions
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 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
- <title><%= hostname %></title>
+ <title><%= scope.lookupvar('::hostname') %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
<h1> No page @ this location</h1>
<p>
- <small><em><%= hostname %></em></small>
+ <small><em><%= scope.lookupvar('::hostname') %></em></small>
</p>
</body>
</html>