X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9ba19bdc479881e469542cd156b09bdbb01f77a7..eb10ee11cf967f641485a4124c337f52ce6b9939:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 5cdaf91f6..8ec499d13 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -196,6 +196,7 @@ if node[:networking][:wireguard][:enabled] package "wireguard-tools" do compile_time true + options "--no-install-recommends" end directory "/var/lib/systemd/wireguard" do @@ -240,7 +241,7 @@ if node[:networking][:wireguard][:enabled] } end - search(:node, "roles:shenron OR roles:prometheus") do |server| + search(:node, "roles:prometheus") do |server| allowed_ips = server.interfaces(:role => :internal).map do |interface| "#{interface[:network]}/#{interface[:prefix]}" end