bundlewrap/bundles/basic/items.py

31 lines
554 B
Python
Raw Normal View History

# TODO support non-systemd systems
files = {
'/etc/default/locale': {
'content_type': 'mako',
'needs': {
'action:locale-gen',
},
},
'/etc/hosts': {
'content_type': 'mako',
},
2021-02-24 18:24:56 +00:00
'/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',
},
}