X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b0cef2e7465d085f80ba359ecbf92540a0965ac2..dd7f629ab3f1404a2a3ea5a9c4e28c416ecb6e3b:/cookbooks/networking/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 8eed59556..c24686d0b 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -236,7 +236,7 @@ if node[:networking][:wireguard][:enabled] } 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