bundles/basic: support debian trixie

This commit is contained in:
Franzi 2025-06-26 21:47:14 +02:00
parent 353557a48a
commit 36c2f22795
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 14 additions and 6 deletions

View file

@ -4,12 +4,6 @@ from uuid import UUID
from bundlewrap.utils.text import italic
files = {
'/etc/default/locale': {
'content_type': 'mako',
'needs': {
'action:locale-gen',
},
},
'/etc/hosts': {
'content_type': 'mako',
},
@ -28,6 +22,20 @@ files = {
},
}
if node.os_version[0] < 13:
locale_file = '/etc/default/locale'
else:
locale_file = '/etc/locale.conf'
files[locale_file] = {
'content_type': 'mako',
'source': 'locale.conf',
'needs': {
'action:locale-gen',
},
}
if node.has_any_bundle([
'dovecot',
'nginx',