26 lines
459 B
Python
26 lines
459 B
Python
# TODO support non-systemd systems
|
|
|
|
files = {
|
|
'/etc/default/locale': {
|
|
'needs': {
|
|
'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',
|
|
},
|
|
}
|