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
|
@ -83,7 +83,7 @@ def telegraf(metadata):
|
|||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'cron/smartd',
|
||||
'cron/jobs/smartd',
|
||||
)
|
||||
def monthly_long_test(metadata):
|
||||
lines = set()
|
||||
|
@ -96,6 +96,8 @@ def monthly_long_test(metadata):
|
|||
|
||||
return {
|
||||
'cron': {
|
||||
'smartd': '\n'.join(sorted(lines)),
|
||||
'jobs': {
|
||||
'smartd': '\n'.join(sorted(lines)),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue