bundles/basic: support debian trixie
This commit is contained in:
parent
353557a48a
commit
36c2f22795
2 changed files with 14 additions and 6 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue