summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 95dc155..e15eefa 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -188,7 +188,8 @@ class apache {
true: {
file { "${apache2_sites}-available/$vhost":
ensure => $ensure,
- source => "puppet:///modules/site-apache/vhosts/$title",
+ source => [ "puppet:///modules/site-apache/vhosts/$domain/$title",
+ "puppet:///modules/site-apache/vhosts/$title" ]
owner => root,
group => root,
mode => 0644,