]> git.openstreetmap.org Git - chef.git/commitdiff
Disable mod_evasive for prometheus
authorTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 17:39:18 +0000 (17:39 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 17:39:18 +0000 (17:39 +0000)
roles/prometheus.rb

index 4ffc2dcbe1eb6665f6c95ca0ac87640874a3dd5b..8828a40e51d40bb7dc3128e0a088004cf4defb38 100644 (file)
@@ -1,6 +1,12 @@
 name "prometheus"
 description "Role applied to all prometheus servers"
 
+default_attributes(
+  :apache => {
+    :evasive => false
+  }
+)
+
 run_list(
   "recipe[awscli]",
   "recipe[prometheus::server]",