12 lines
234 B
Python
12 lines
234 B
Python
files = {}
|
|
|
|
directories = {
|
|
'/etc/cron.d': {
|
|
'purge': True,
|
|
},
|
|
}
|
|
|
|
for crontab, content in node.metadata.get('cron', {}).items():
|
|
files['/etc/cron.d/{}'.format(crontab)] = {
|
|
'content': content + "\n",
|
|
}
|