From fe560e3769cb04c03de7ba2a2d40cb3040365156 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 4 Jan 2016 16:05:09 -0500 Subject: Fix status module invocation for hidden service enabled webapps (#7776) Change-Id: I101e4c9791102123d4334e1b84a48dacea99ac52 --- puppet/modules/site_webapp/manifests/hidden_service.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/puppet/modules/site_webapp/manifests/hidden_service.pp b/puppet/modules/site_webapp/manifests/hidden_service.pp index efdefd8e..12eb1793 100644 --- a/puppet/modules/site_webapp/manifests/hidden_service.pp +++ b/puppet/modules/site_webapp/manifests/hidden_service.pp @@ -8,8 +8,7 @@ class site_webapp::hidden_service { include apache::module::alias include apache::module::expires include apache::module::removeip - include apache::module::status - + include tor::daemon tor::daemon::hidden_service { 'webapp': ports => '80 127.0.0.1:80' } @@ -33,12 +32,13 @@ class site_webapp::hidden_service { owner => 'debian-tor', group => 'debian-tor', mode => '0600'; - - '/etc/apache2/mods-enabled/status.conf': - ensure => absent, - notify => Service['apache']; } + # it is necessary to zero out the config of the status module + # because we are configuring our own version that is unavailable + # over the hidden service (see: #7456 and #7776) + apache::module { 'status': ensure => present, conf_content => ' ' } + apache::vhost::file { 'hidden_service': content => template('site_apache/vhosts.d/hidden_service.conf.erb'); -- cgit v1.2.3