# Execute `apt update`: execute 'apt update' # Install the necessary packages: %w[build-essential zsh vim-nox debian-keyring curl direnv jq avahi-daemon wget gpg coreutils].each do |pkg| package pkg end execute 'ufw allow 5353/udp' do user 'root' not_if 'LANG=c ufw status | grep 5353' notifies :run, 'execute[ufw reload-or-enable]' end