summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site/config.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index 4440e59..b536380 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -30,7 +30,8 @@ define apache::site::config(
true: {
file { "${apache::conf_sites}-available/$vhost.conf":
ensure => $ensure,
- source => [ "puppet:///modules/site_apache/vhosts/${::domain}/${name}",
+ source => [ "puppet:///modules/site_apache/vhosts/${::domain}/${::hostname}/${name}",
+ "puppet:///modules/site_apache/vhosts/${::domain}/${name}",
"puppet:///modules/site_apache/vhosts/${name}" ],
owner => root,
group => root,