bundlewrap/bundles/cron/items.py
2020-06-01 11:54:28 +02:00

7 lines
164 B
Python

files = {}
for crontab, content in node.metadata.get('cron', {}).items():
files['/etc/cron.d/{}'.format(crontab)] = {
'content': content + "\n",
}