diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-20 16:45:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-20 16:45:23 -0300 |
commit | fdc749a0cda6859c5d011cafcf3b915444b67d50 (patch) | |
tree | d294806114b0521f9c68ad67d5cbafe16051a8bf | |
parent | c4858ebfa999ba902deac5f2d7b5c26ffe97f8b2 (diff) | |
download | puppet-apache-fdc749a0cda6859c5d011cafcf3b915444b67d50.tar.gz puppet-apache-fdc749a0cda6859c5d011cafcf3b915444b67d50.tar.bz2 |
Allowing per-domain vhost source
-rw-r--r-- | manifests/init.pp | 3 |
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, |