From 05d693e46ceb637e2e9ac8f70a905bc018905d94 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 7 Feb 2010 19:21:46 -0200 Subject: Minor fix --- manifests/init.pp | 8 ++++++++ manifests/websites.pp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 7229f15..182536e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -410,3 +410,11 @@ class nodo::master { class nodo::proxy inherits nodo::vserver { include nginx } + +class nodo::backup inherits nodo::vserver { + # Class for backup hosting nodes +} + +class nodo::test inherits nodo::web { + # Class for test nodes +} diff --git a/manifests/websites.pp b/manifests/websites.pp index f219e20..9d7012e 100644 --- a/manifests/websites.pp +++ b/manifests/websites.pp @@ -5,7 +5,7 @@ class websites::setup { $apache_error_dest = "http://${domain}/missing.html" $drupal_folder = "${apache_www_folder}/drupal" - case $default_vhost = $apache_server_name ? { + $default_vhost = $apache_server_name ? { '': { $hostname } default: { $apache_server_name } } -- cgit v1.2.3