bundlewrap/bundles/basic/items.py
Franziska Kunsmann 51ca74549e
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/basic: add htoprc
2021-02-24 19:24:56 +01:00

30 lines
554 B
Python

# TODO support non-systemd systems
files = {
'/etc/default/locale': {
'content_type': 'mako',
'needs': {
'action:locale-gen',
},
},
'/etc/hosts': {
'content_type': 'mako',
},
'/etc/htoprc.global': {
'source': 'htoprc',
},
'/etc/locale.gen': {
'content_type': 'mako',
'triggers': {
'action:locale-gen',
},
},
'/etc/motd': {},
}
actions = {
'locale-gen': {
'triggered': True,
'command': 'locale-gen',
},
}