2021-01-23 11:05:59 +00:00
|
|
|
# TODO support non-systemd systems
|
|
|
|
|
|
|
|
files = {
|
|
|
|
'/etc/default/locale': {
|
2021-02-18 13:51:33 +00:00
|
|
|
'content_type': 'mako',
|
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',
|
|
|
|
},
|
|
|
|
}
|