]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/recipes/smokeping.rb
Drop role for noquiklos
[chef.git] / cookbooks / prometheus / recipes / smokeping.rb
index 975f8a5c25be1bcb6c2d64029f7de0ac3f5002ef..4f9906d32cff7d8d43752373348eb703f013f90c 100644 (file)
@@ -40,4 +40,8 @@ end
 prometheus_exporter "smokeping" do
   port 9374
   options "--config.file=/etc/prometheus/exporters/smokeping.yml"
 prometheus_exporter "smokeping" do
   port 9374
   options "--config.file=/etc/prometheus/exporters/smokeping.yml"
+  capability_bounding_set "CAP_NET_RAW"
+  ambient_capabilities "CAP_NET_RAW"
+  private_users false
+  subscribes :restart, "template[/etc/prometheus/exporters/smokeping.yml]"
 end
 end