]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 7 Feb 2010 21:21:46 +0000 (19:21 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 7 Feb 2010 21:21:46 +0000 (19:21 -0200)
manifests/init.pp
manifests/websites.pp

index 7229f154364db5878994951945ceb63eaa2eceba..182536e2a3fbac05c143921d4fdcbcd637e5e431 100644 (file)
@@ -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
+}
index f219e200412723ec761d7ea1e9c34908cdec3fbd..9d7012e22d84de340b98c53725b04ba90710e4a1 100644 (file)
@@ -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 }
   }