From: Silvio Rhatto Date: Sun, 27 Dec 2009 00:42:06 +0000 (-0200) Subject: Using source instead of custom X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d;p=puppet-apache.git Using source instead of custom --- diff --git a/manifests/init.pp b/manifests/init.pp index ec592e7..360335f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -85,9 +85,9 @@ class apache { define site($ensure = present, $docroot = false, $redirect = false, $redirect_match = false, $protocol = 'http', $server_alias = false, $use = false, $ticket = false, - $custom = false) { + $source = false) { - case $custom { + case $source { true: { file { "${apache2_sites}-available/$title": ensure => $ensure,