diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 20:08:41 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 20:08:41 -0200 |
commit | 796bd7bd500b94316ca189a5aba773cd27b467dc (patch) | |
tree | ad49820d31ca8f4d696c2de9a335f3098e67c2b2 /manifests/subsystems | |
parent | 5b014151a2ad63c1265fb95180505ab14f6090d9 (diff) | |
download | puppet-nodo-796bd7bd500b94316ca189a5aba773cd27b467dc.tar.gz puppet-nodo-796bd7bd500b94316ca189a5aba773cd27b467dc.tar.bz2 |
Refactoring hosting type
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/websites.pp | 8 |
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 |