update bw to 4.3, add .provides() to metadata reactors
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-07 18:44:38 +01:00
parent 7f0fb7a6e2
commit 2d42e5f7dd
Signed by: kunsi
GPG key ID: 12E3D2136B818350
29 changed files with 158 additions and 47 deletions

View file

@ -45,7 +45,9 @@ defaults = {
}
@metadata_reactor
@metadata_reactor.provides(
'nginx/vhosts',
)
def nginx(metadata):
if not node.has_bundle('nginx'):
raise DoNotRunAgain
@ -67,7 +69,9 @@ def nginx(metadata):
}
@metadata_reactor
@metadata_reactor.provides(
'icinga2_api/gitea/services',
)
def icinga_check_for_new_release(metadata):
return {
'icinga2_api': {