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
|
@ -1,5 +1,5 @@
|
|||
@metadata_reactor.provides(
|
||||
'cron/check-mail-received',
|
||||
'cron/jobs/check-mail-received',
|
||||
'icinga2_api/check-mail-received/services',
|
||||
)
|
||||
def process_metadata(metadata):
|
||||
|
@ -30,7 +30,9 @@ def process_metadata(metadata):
|
|||
|
||||
return {
|
||||
'cron': {
|
||||
'check-mail-received': '\n'.join(sorted(cron)),
|
||||
'jobs': {
|
||||
'check-mail-received': '\n'.join(sorted(cron)),
|
||||
},
|
||||
},
|
||||
'icinga2_api': {
|
||||
'check-mail-received': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue