summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/site.pp4
-rw-r--r--manifests/site/config.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index f445ffc..dc7cd95 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -37,7 +37,7 @@ define apache::site(
$custom_log = false,
$custom_directives = false,
$allow_override = false,
- $hosting_domain = hiera('apache::site::domain', $::domain),
+ $hosting_domain = lookup('apache::site::domain', undef, undef, $::domain),
$certbot = false,
) {
$vhost = $filename ? {
@@ -55,7 +55,7 @@ define apache::site(
default => $mpm_group,
}
- $hidden_enabled = hiera('apache::site::hidden', false)
+ $hidden_enabled = lookup('apache::site::hidden', undef, undef, false)
if $hidden_service == true and $hidden_enabled == true {
tor::daemon::hidden_service { "${name}":
version => $hidden_service_version,
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index 4440e59..8f4c1d4 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -23,7 +23,7 @@ define apache::site::config(
$custom_log = false,
$custom_directives = false,
$allow_override = false,
- $hosting_domain = hiera('apache::site::domain', $::domain),
+ $hosting_domain = lookup('apache::site::domain', undef, undef, $::domain),
$certbot = false,
) {
case $source {