Allow specifying alternate config file for datasync checks

This commit is contained in:
Lance Edgar 2021-11-30 13:38:05 -06:00
parent b58c0da7a4
commit ca59000287

View file

@ -125,6 +125,7 @@ def deploy_datasync_checks(c, envroot, **kwargs):
envroot = envroot.rstrip('/')
context = kwargs.pop('context', {})
context['envroot'] = envroot
context.setdefault('config', kwargs.pop('config', 'quiet'))
deploy_common(c, 'rattail/check-datasync-queue.mako', '{}/app/check-datasync-queue'.format(envroot),
context=context, **kwargs)
deploy_common(c, 'rattail/check-datasync-watchers.mako', '{}/app/check-datasync-watchers'.format(envroot),