Ensure the ACL is absent

    name
        Specifies a human-friendly name for the ACL token.

    id
        Specifies the ID of the ACL.

    token
        token to authenticate you Consul query

    consul_url : http://locahost:8500
        consul URL to query

    .. note::
        For more information https://www.consul.io/api/acl.html#delete-acl-token

def acl_absent(name, id=None, token=None, consul_url='http://localhost:8500'):
    '''
    Ensure the ACL is absent

    name
        Specifies a human-friendly name for the ACL token.

    id
        Specifies the ID of the ACL.

    token
        token to authenticate you Consul query

    consul_url : http://locahost:8500
        consul URL to query

    .. note::
        For more information https://www.consul.io/api/acl.html#delete-acl-token

    '''
    ret = {
            'name': id,
            'changes': {},
            'result': True,
            'comment': 'ACL "{0}" does not exist'.format(id)}

    exists = _acl_exists(name, id, token, consul_url)
    if exists['result']:
        if __opts__['test']:
            ret['result'] = None
            ret['comment'] = "the acl exists, it will be deleted"
            return ret

        delete = __salt__['consul.acl_delete'](id=exists['id'], token=token, consul_url=consul_url)
        if delete['res']:
            ret['result'] = True
            ret['comment'] = "the acl has been deleted"
        elif not delete['res']:
            ret['result'] = False
            ret['comment'] = "failed to delete the acl"

    return ret