From 608a27facad552f5545b2806bf970ddc8b1b78c1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Dec 2009 17:12:03 -0200 Subject: Trying to fix a case issue --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'), -- cgit v1.2.3