diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-26 22:42:06 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-26 22:42:06 -0200 |
commit | 9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d (patch) | |
tree | 7b5965ab4ff10441ad8b6825da76ed866935e0c8 | |
parent | 2c8e38faeb24d51f082ea452b0e053be1fcb1779 (diff) | |
download | puppet-apache-9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d.tar.gz puppet-apache-9c486b3a1438ecc09ebc1c7e9d4566c4e18e066d.tar.bz2 |
Using source instead of custom
-rw-r--r-- | manifests/init.pp | 4 |
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, |