2021-01-23 11:05:59 +00:00
|
|
|
# TODO support non-systemd systems
|
|
|
|
|
|
|
|
files = {
|
|
|
|
'/etc/default/locale': {
|
2021-01-24 06:49:49 +00:00
|
|
|
'needs': {
|
2021-01-23 11:05:59 +00:00
|
|
|
'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',
|
|
|
|
},
|
|
|
|
}
|