Allow specifying alternate config file for datasync checks
This commit is contained in:
parent
b58c0da7a4
commit
ca59000287
|
@ -125,6 +125,7 @@ def deploy_datasync_checks(c, envroot, **kwargs):
|
||||||
envroot = envroot.rstrip('/')
|
envroot = envroot.rstrip('/')
|
||||||
context = kwargs.pop('context', {})
|
context = kwargs.pop('context', {})
|
||||||
context['envroot'] = envroot
|
context['envroot'] = envroot
|
||||||
|
context.setdefault('config', kwargs.pop('config', 'quiet'))
|
||||||
deploy_common(c, 'rattail/check-datasync-queue.mako', '{}/app/check-datasync-queue'.format(envroot),
|
deploy_common(c, 'rattail/check-datasync-queue.mako', '{}/app/check-datasync-queue'.format(envroot),
|
||||||
context=context, **kwargs)
|
context=context, **kwargs)
|
||||||
deploy_common(c, 'rattail/check-datasync-watchers.mako', '{}/app/check-datasync-watchers'.format(envroot),
|
deploy_common(c, 'rattail/check-datasync-watchers.mako', '{}/app/check-datasync-watchers'.format(envroot),
|
||||||
|
|
Loading…
Reference in a new issue