bundles/cron: use MAILTO=, rework metadata syntax
This commit is contained in:
parent
533f8075ca
commit
0d865c93d4
22 changed files with 113 additions and 65 deletions
|
@ -31,7 +31,7 @@ svc_systemd = {
|
|||
},
|
||||
}
|
||||
|
||||
for crontab, content in node.metadata.get('cron', {}).items():
|
||||
for crontab, content in node.metadata.get('cron/jobs', {}).items():
|
||||
files['/etc/cron.d/{}'.format(crontab)] = {
|
||||
'source': 'cron_template',
|
||||
'content_type': 'mako',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue