aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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 }
}