def _merge_yaml(ret, data):
    if 'sysctl' not in ret:
        ret['sysctl'] = []
    for key, val in data.get('sysctl', {}).iteritems():
        ret['sysctl'].append({key: val})
    return ret
Merge two yaml dicts together
dataset/ETHPy150Open HubbleStack/Nova/hubblestack_nova/sysctl.py/_merge_yaml