summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-26 22:06:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-26 22:06:20 -0200
commit2c8e38faeb24d51f082ea452b0e053be1fcb1779 (patch)
tree6f27ef4a088c8c04683622d8761751fffea472c5 /manifests
parent632109899c623dc5f47ed0dbb51efa5f009f4e34 (diff)
downloadpuppet-apache-2c8e38faeb24d51f082ea452b0e053be1fcb1779.tar.gz
puppet-apache-2c8e38faeb24d51f082ea452b0e053be1fcb1779.tar.bz2
Using custom instead of source
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b3d2381..ec592e7 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -85,13 +85,13 @@ class apache {
define site($ensure = present, $docroot = false, $redirect = false,
$redirect_match = false, $protocol = 'http',
$server_alias = false, $use = false, $ticket = false,
- $source = false) {
+ $custom = false) {
- case $source {
+ case $custom {
true: {
file { "${apache2_sites}-available/$title":
ensure => $ensure,
- source => "puppet://$fileserver/files/apache/$title",
+ source => "puppet://$server/files/apache/$title",
owner => root,
group => root,
mode => 0644,