Retire the apache_ratelimited role
authorPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 17:59:31 +0000 (19:59 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 17:59:31 +0000 (19:59 +0200)
commit6cd11592f10a9294b671b06b8641df66354dae52
treed37e28cd2adc1ee9053dda580dae1c3ca6a99245
parentdd6cf6aa396cb762a80e430b4e38d961a8e124b2
Retire the apache_ratelimited role

And introduce a rate_limit param to the apache2 class.  The
bugs_web role sets that option to true on inclusion, as does
the packages role.

The snapshot role had slightly different rate limiting in the
apache class.  This has now been removed in favor of rate limiting
in the snapshot_web class.

To enable this, all web traffic (even on not-ratelimited systems)
is sent to the http chain.  At the end, all traffic gets accepted
and services that want to interfere can do things before prio 90.
hieradata/common.yaml
modules/apache2/manifests/dynamic.pp
modules/apache2/manifests/init.pp
modules/roles/manifests/bugs_web.pp
modules/roles/manifests/packages.pp
modules/roles/manifests/snapshot_web.pp