The new plana hardware isn't in the old sepia lock database,
and the machine pools are risky to merge as nothing in the
software guarantees allocation from just one pool. This allows
us to hand-allocate machines temporarily.
yaml.safe_dump(ctx.config, f, default_flow_style=False)
def check_lock(ctx, config):
+ if ctx.config.get('check-locks') == False:
+ log.info('Lock checking disabled.')
+ return
log.info('Checking locks...')
for machine in ctx.config['targets'].iterkeys():
status = lock.get_status(ctx, machine)