diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-28 10:43:04 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-28 10:43:04 -0300 |
commit | 79ff1cf65fbdd42d8deaf55ae4adf051fd322e18 (patch) | |
tree | de14c4856549837de6c6fcd5b6edbc6d737322fc | |
parent | 1dd79cb6521de34aae734038d317bcb4b50ad237 (diff) | |
download | puppet-apache-79ff1cf65fbdd42d8deaf55ae4adf051fd322e18.tar.gz puppet-apache-79ff1cf65fbdd42d8deaf55ae4adf051fd322e18.tar.bz2 |
Use aliases param on certbot
-rw-r--r-- | manifests/site.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/site.pp b/manifests/site.pp index b939427..24dba9b 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -133,6 +133,10 @@ define apache::site( certbot::manage { "${name}.${hosting_domain}": pre_hook => '/usr/sbin/service apache2 reload', require => Apache::Site::Manage[$name], + aliases => $server_alias ? { + false => undef, + default => $server_alias, + }, } } } |