aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-07 19:21:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-07 19:21:46 -0200
commit05d693e46ceb637e2e9ac8f70a905bc018905d94 (patch)
tree2f52a42813d5feba3ad4983029d0190d8b65fa0d /manifests
parentcc198fe5a065adb598259d7e794a8dedd7a26b9b (diff)
downloadpuppet-nodo-05d693e46ceb637e2e9ac8f70a905bc018905d94.tar.gz
puppet-nodo-05d693e46ceb637e2e9ac8f70a905bc018905d94.tar.bz2
Minor fix
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
-rw-r--r--manifests/websites.pp2
2 files changed, 9 insertions, 1 deletions
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 }
}