From 796bd7bd500b94316ca189a5aba773cd27b467dc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 20:08:41 -0200 Subject: Refactoring hosting type --- manifests/subsystems/websites.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'manifests/subsystems') 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 -- cgit v1.2.3