From: Silvio Rhatto Date: Sat, 26 Dec 2009 19:12:03 +0000 (-0200) Subject: Trying to fix a case issue X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=608a27facad552f5545b2806bf970ddc8b1b78c1;p=puppet-apache.git Trying to fix a case issue --- diff --git a/manifests/init.pp b/manifests/init.pp index af8736d..70f6cc2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -85,10 +85,10 @@ class apache { define site($ensure = present, $docroot = false, $redirect = false, $redirect_match = false, $protocol = 'http', $server_alias = false, $use = false, $ticket = false, - $source = false) { + $source = '') { case $source { - false: { + '': { file { "${apache2_sites}-available/$title": ensure => $ensure, content => template('apache/site.erb'),