add bundle:avahi-daemon

This commit is contained in:
Franzi 2024-12-22 20:19:59 +01:00
parent 9395fcb7f5
commit 91432197e8
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,21 @@
[server]
host-name=${node.name.split('.')[-1]}
use-ipv4=yes
use-ipv6=yes
ratelimit-interval-usec=1000000
ratelimit-burst=1000
[wide-area]
enable-wide-area=yes
[publish]
disable-publishing=no
disable-user-service-publishing=no
publish-hinfo=yes
publish-workstation=no
publish-aaaa-on-ipv4=yes
publish-a-on-ipv6=no
[reflector]
[rlimits]

View file

@ -0,0 +1,17 @@
directories['/etc/avahi/services'] = {
'purge': True,
}
files['/etc/avahi/avahi-daemon.conf'] = {
'content_type': 'mako',
'triggers': {
'svc_systemd:avahi-daemon:restart',
},
}
svc_systemd['avahi-daemon'] = {
'needs': {
'file:/etc/avahi/avahi-daemon.conf',
'pkg_apt:avahi-daemon',
},
}

View file

@ -0,0 +1,7 @@
defaults = {
'apt': {
'packages': {
'avahi-daemon': {},
},
},
}