summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-07 15:24:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-07 15:24:42 -0200
commitb317e3ac6756034b873a86a3d904535955a8aae6 (patch)
treeb14854a6a2066a4e41602aeb139c5a6385bd805c /manifests
parent87df824ee0911a2749b68a194f725f0629b856d8 (diff)
downloadpuppet-apache-b317e3ac6756034b873a86a3d904535955a8aae6.tar.gz
puppet-apache-b317e3ac6756034b873a86a3d904535955a8aae6.tar.bz2
Introducing $apache_server_name
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8505d7c..f9c3a81 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -92,6 +92,10 @@ class apache {
'': { $apache_error_dest = "${apache_error_folder}/index.html" }
}
+ case $apache_server_name {
+ '': { $apache_server_name = $fqdn }
+ }
+
define site($ensure = present, $docroot = false, $redirect = false,
$redirect_match = false, $protocol = 'http',
$server_alias = false, $use = false, $ticket = false,