From: Peter Palfrader Date: Fri, 1 Jun 2018 15:02:38 +0000 (+0200) Subject: try apache rate limiting on snapshot hosts X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=2f70a42b6576bef5945cce5b6ca722396923ec17 try apache rate limiting on snapshot hosts --- diff --git a/modules/apache2/manifests/dynamic.pp b/modules/apache2/manifests/dynamic.pp index f5a357f3d..a07347a16 100644 --- a/modules/apache2/manifests/dynamic.pp +++ b/modules/apache2/manifests/dynamic.pp @@ -75,6 +75,6 @@ class apache2::dynamic { @ferm::rule { 'dsa-http': prio => '23', description => 'Allow web access', - rule => 'proto tcp dport (http https) jump http' + rule => 'proto tcp dport (http https 6081) jump http' } } diff --git a/modules/roles/manifests/snapshot_web.pp b/modules/roles/manifests/snapshot_web.pp index ee9ab949f..582f5076a 100644 --- a/modules/roles/manifests/snapshot_web.pp +++ b/modules/roles/manifests/snapshot_web.pp @@ -1,5 +1,6 @@ class roles::snapshot_web { include apache2 + include apache2::dynamic include apache2::rewrite ensure_packages ( [