From: Silvio Rhatto Date: Tue, 20 Sep 2011 19:45:23 +0000 (-0300) Subject: Allowing per-domain vhost source X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fdc749a0cda6859c5d011cafcf3b915444b67d50;p=puppet-apache.git Allowing per-domain vhost source --- 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,