summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-26 22:42:06 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-26 22:42:06 -0200
commit9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d (patch)
tree7b5965ab4ff10441ad8b6825da76ed866935e0c8
parent2c8e38faeb24d51f082ea452b0e053be1fcb1779 (diff)
downloadpuppet-apache-9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d.tar.gz
puppet-apache-9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d.tar.bz2
Using source instead of custom
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
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,