From 2f70a42b6576bef5945cce5b6ca722396923ec17 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 1 Jun 2018 17:02:38 +0200 Subject: [PATCH] try apache rate limiting on snapshot hosts --- modules/apache2/manifests/dynamic.pp | 2 +- modules/roles/manifests/snapshot_web.pp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 ( [ -- 2.20.1