end
end
+package "systemd-resolved" do
+ action :install
+ only_if { platform?("ubuntu") && node[:lsb][:release].to_f > 22.04 || platform?("debian") && node[:lsb][:release].to_f > 11.0 }
+end
+
service "systemd-networkd" do
action [:enable, :start]
end
end
end
+firewall_rule "accept-http-osm" do
+ action :accept
+ context :incoming
+ protocol :tcp
+ source :osm
+ dest_ports %w[http https]
+end
+
firewall_rule "accept-http" do
action :accept
context :incoming