summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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,