diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-07-29 08:24:52 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-07-29 08:33:04 -0300 |
commit | 0fa24c85807de408b86f882d519fe01569317af2 (patch) | |
tree | 3e416e1243d9e0f728c547ff28df4588ff46d5cf | |
parent | d772434b66e7b77d827ee8525584f6a924fa3ad4 (diff) | |
download | puppet-apache-0fa24c85807de408b86f882d519fe01569317af2.tar.gz puppet-apache-0fa24c85807de408b86f882d519fe01569317af2.tar.bz2 |
Feat: support per-hostname vhostslegacy
-rw-r--r-- | manifests/site/config.pp | 3 |
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, |