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

index 9d7012e22d84de340b98c53725b04ba90710e4a1..326e670360d44f0129c3e02226d752dae83116e9 100644 (file)
@@ -6,8 +6,8 @@ class websites::setup {
   $drupal_folder       = "${apache_www_folder}/drupal"
 
   $default_vhost = $apache_server_name ? {
-    '':      { $hostname }
-    default: { $apache_server_name }
+    ''      => $hostname,
+    default => $apache_server_name,
   }
 
   # Include apache