diff --git a/cookbooks/base/packages.rb b/cookbooks/base/packages.rb index 0ca788c..055000e 100644 --- a/cookbooks/base/packages.rb +++ b/cookbooks/base/packages.rb @@ -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