def build_node_data_bag():
    """Tells LittleChef to build the node data bag"""
    current_dir = os.getcwd()
    os.chdir(KITCHEN_DIR)
    try:
        lib.get_recipes()  # This builds metadata.json for all recipes
        chef.build_node_data_bag()
    except __HOLE__ as e:
        log.error(e)
    finally:
        os.chdir(current_dir)
    return True
dataset/ETHPy150Open edelight/kitchen/kitchen/backends/lchef.py/build_node_data_bag