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:24:52 -0300 |
commit | 861e5bdbe6301bf0a078d75cc2a4d5b6758d1868 (patch) | |
tree | 146518a85917d286364ff174055eced0b3f399bf | |
parent | 6244a54a5bec86e04e12ef693fbcd181e4d2b5ae (diff) | |
download | puppet-apache-861e5bdbe6301bf0a078d75cc2a4d5b6758d1868.tar.gz puppet-apache-861e5bdbe6301bf0a078d75cc2a4d5b6758d1868.tar.bz2 |
Feat: support per-hostname vhosts
-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 8f4c1d4..492ba1d 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, |