X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3a4b1c2078cd515e93a5f1bf8967f380fbd1646f..ed524a3afc8f43c16510de915662632e3b186a88:/cookbooks/networking/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/networking/attributes/default.rb b/cookbooks/networking/attributes/default.rb index 49bd27a57..aef019dd5 100644 --- a/cookbooks/networking/attributes/default.rb +++ b/cookbooks/networking/attributes/default.rb @@ -1,3 +1,18 @@ +default[:networking][:firewall][:enabled] = true +default[:networking][:firewall][:inet] = [] +default[:networking][:firewall][:inet6] = [] +default[:networking][:firewall][:http_rate_limit] = "-" +default[:networking][:firewall][:http_connection_limit] = "-" +default[:networking][:firewall][:log] = true +default[:networking][:firewall][:mark] = true +default[:networking][:firewall][:raw] = true +default[:networking][:firewall][:mangle] = true +default[:networking][:roles] = {} default[:networking][:interfaces] = {} -default[:networking][:nameservers] = [ ] -default[:networking][:search] = [ ] +default[:networking][:nameservers] = %w[8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844] +default[:networking][:search] = [] +default[:networking][:dnssec] = "allow-downgrade" +default[:networking][:hostname] = node.name +default[:networking][:wireguard][:enabled] = true +default[:networking][:wireguard][:keepalive] = 180 +default[:networking][:wireguard][:peers] = []