update bw to 4.3, add .provides() to metadata reactors
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
7f0fb7a6e2
commit
2d42e5f7dd
29 changed files with 158 additions and 47 deletions
|
@ -87,7 +87,9 @@ if node.has_bundle('sshmon'):
|
|||
})
|
||||
|
||||
|
||||
@metadata_reactor
|
||||
@metadata_reactor.provides(
|
||||
'cron/zfs-scrub',
|
||||
)
|
||||
def zfs_scrub_cronjob(metadata):
|
||||
when = metadata.get('zfs/scrub/cron', '{} 0 * * sun'.format((node.magic_number % 60)))
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue