Install `avahi-daemon`.

This commit is contained in:
Kazuhiro MUSASHI 2023-12-09 14:56:03 +09:00
parent 23e0dc8e9d
commit 60399ae897
1 changed files with 10 additions and 0 deletions

View File

@ -62,3 +62,13 @@ end
mode '755'
end
end
# mDNS
package 'avahi-daemon'
execute 'ufw allow 5353/udp' do
user 'root'
not_if 'LANG=c ufw status | grep 5353'
notifies :run, 'execute[ufw reload-or-enable]'
end