

def build_link(data):
    if ('haproxy::app_lb' not in data['recipes']):
        return
    domain = data['fqdn']
    link = {
        'url': 'http://{0}:22002'.format(domain),
        'title': 'haproxy',
    }
    data.setdefault('kitchen', {
        
    })
    data['kitchen'].setdefault('data', {
        
    })
    data['kitchen']['data'].setdefault('links', [])
    data['kitchen']['data']['links'].append(domain)

dataset/ETHPy150Open edelight/kitchen/kitchen/backends/plugins/haproxy.py build_link/VarMisuse@110/163 `link`->`domain`