diff options
-rw-r--r-- | manifests/site.pp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/site.pp b/manifests/site.pp index 42a4abb..d686518 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -14,10 +14,7 @@ define apache::site($ensure = present, $docroot = false, $redirect = false, default => "$filename", } - $hosting_domain = $base_domain ? { - '' => $domain, - default => $base_domain, - } + $hosting_domain = hiera('apache::site::domain', $::domain) $user = $mpm_user ? { '' => regsubst($title, '\.', '_', 'G'), |