def METHOD_NAME(
    module_puppet_org, module_puppet_loc, module_import_puppet_module, session_puppet_enabled_sat
):
    """Search for puppet environment created from module_import_puppet_module fixture.
    Returns the puppet environment with updated organization and location.
    """
    env = (
        session_puppet_enabled_sat.api.Environment()
        .search(query={'search': f'name={module_import_puppet_module["env"]}'})[0]
        .read()
    )
    env.location = [module_puppet_loc]
    env.organization = [module_puppet_org]
    env.update(['location', 'organization'])
    return env