]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/attributes/default.rb
Add support for using systemd-networkd directly instead of netplan
[chef.git] / cookbooks / networking / attributes / default.rb
index 49bd27a57c27de1600a3e4983271a6e5bc72509a..f143d59f9cffb042cfd476fab514cde9b0fe5a46 100644 (file)
@@ -1,3 +1,18 @@
+default[:networking][:engine] = "netplan"
+default[:networking][:firewall][:enabled] = true
+default[:networking][:firewall][:sets] = []
+default[:networking][:firewall][:helpers] = []
+default[:networking][:firewall][:incoming] = []
+default[:networking][:firewall][:outgoing] = []
+default[:networking][:firewall][:http_rate_limit] = nil
+default[:networking][:firewall][:http_connection_limit] = nil
+default[:networking][:firewall][:allowlist] = []
+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] = []