Remove user
    Delete all user (uid) records having the matching name.

    name
        string name of user to delete

    channel
        channel to remove user access from defaults to 14 for auto.

    kwargs
        - api_host=localhost
        - api_user=admin
        - api_pass=
        - api_port=623
        - api_kg=None

def user_absent(name, channel=14, **kwargs):
    '''
    Remove user
    Delete all user (uid) records having the matching name.

    name
        string name of user to delete

    channel
        channel to remove user access from defaults to 14 for auto.

    kwargs
        - api_host=localhost
        - api_user=admin
        - api_pass=
        - api_port=623
        - api_kg=None
    '''
    ret = {'name': name, 'result': False, 'comment': '', 'changes': {}}
    user_id_list = __salt__['ipmi.get_name_uids'](name, channel, **kwargs)

    if not user_id_list:
        ret['result'] = True
        ret['comment'] = 'user already absent'
        return ret

    if __opts__['test']:
        ret['comment'] = 'would delete user(s)'
        ret['result'] = None
        ret['changes'] = {'delete': user_id_list}
        return ret

    for uid in user_id_list:
        __salt__['ipmi.delete_user'](uid, channel, **kwargs)

    ret['comment'] = 'user(s) removed'
    ret['changes'] = {'old': user_id_list, 'new': 'None'}
    return ret