aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/websites.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 30249a6..6405a1e 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -1,7 +1,13 @@
class websites::setup {
+ # Third-party hosted nodes generally aren't behind an https proxy
+ $hosting_type = hiera('nodo::vserver::hosting_type', 'direct')
+
# Include apache
class { 'apache':
- https_proxy => $nodo_https_proxy,
+ https_proxy => ? $hosting_type {
+ 'direct' => 'yes',
+ default => false,
+ },
}
# The needed apache modules