]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
Show RSS links for main .torrent files on index page
[chef.git] / cookbooks / networking / recipes / default.rb
index 8eed59556e415b854d03e7dcc8d3d77079e1d6cb..c24686d0b0344a2a968b8001d6a28b96f27371c4 100644 (file)
@@ -236,7 +236,7 @@ if node[:networking][:wireguard][:enabled]
       }
     end
 
       }
     end
 
-    search(:node, "roles:mail") do |server|
+    search(:node, "roles:mail OR roles:prometheus") do |server|
       allowed_ips = server.interfaces(:role => :internal).map do |interface|
         "#{interface[:network]}/#{interface[:prefix]}"
       end
       allowed_ips = server.interfaces(:role => :internal).map do |interface|
         "#{interface[:network]}/#{interface[:prefix]}"
       end