summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-01-04 16:05:09 -0500
committerMicah <micah@leap.se>2016-01-04 16:05:38 -0500
commitfe560e3769cb04c03de7ba2a2d40cb3040365156 (patch)
tree0a05e57eb27d404c42dacf7b1b941888cd96f907 /puppet/modules/site_webapp
parente9d4b594b6030eeb966b7ff18ad608d9f4d295b6 (diff)
Fix status module invocation for hidden service enabled webapps (#7776)
Change-Id: I101e4c9791102123d4334e1b84a48dacea99ac52
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r--puppet/modules/site_webapp/manifests/hidden_service.pp12
1 files 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');