summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp4
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,
+ },
}
}
}