Merge pull request 'Install `avahi-daemon`.' (#5) from install-avh into master

Reviewed-on: #5
This commit is contained in:
Kazuhiro MUSASHI 2023-12-09 05:59:46 +00:00
commit e4db86a40e
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