bundles/basic: ensure a proper locale is installed
This commit is contained in:
parent
a160e7cf46
commit
4a9463db5f
9 changed files with 34 additions and 10 deletions
27
bundles/basic/items.py
Normal file
27
bundles/basic/items.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
# TODO support non-systemd systems
|
||||
|
||||
files = {
|
||||
'/etc/default/locale': {
|
||||
'content_type': 'mako',
|
||||
'triggers': {
|
||||
'action:locale-gen',
|
||||
},
|
||||
},
|
||||
'/etc/hosts': {
|
||||
'content_type': 'mako',
|
||||
},
|
||||
'/etc/locale.gen': {
|
||||
'content_type': 'mako',
|
||||
'triggers': {
|
||||
'action:locale-gen',
|
||||
},
|
||||
},
|
||||
'/etc/motd': {},
|
||||
}
|
||||
|
||||
actions = {
|
||||
'locale-gen': {
|
||||
'triggered': True,
|
||||
'command': 'locale-gen',
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue