def snapshot_absent(name, force=False, recursive=False, recursive_all=False):
    '''
    ensure snapshot is absent on the system

    name : string
        name of snapshot
    force : boolean
        try harder to destroy the dataset (zfs destroy -f)
    recursive : boolean
        also destroy all the child datasets (zfs destroy -r)
    recursive_all : boolean
        recursively destroy all dependents, including cloned file systems
        outside the target hierarchy. (-R)

    '''
    if not __utils__['zfs.is_snapshot'](name):
        ret = {'name': name,
               'changes': {},
               'result': False,
               'comment': 'invalid snapshot name: {0}'.format(name)}
    else:
        ret = _absent(name, 'snapshot', force, recursive, recursive_all)
    return ret
def snapshot_absent ( name , force = False , recursive = False , recursive_all = False ) : if not __utils__ [ 'zfs.is_snapshot' ] ( name ) : ret = { 'name' : name , 'changes' : { } , 'result' : False , 'comment' : 'invalid snapshot name: {0}' . format ( name ) } else : ret = _absent ( name , 'snapshot' , force , recursive , recursive_all ) return ret
ensure snapshot is absent on the system

    name : string
        name of snapshot
    force : boolean
        try harder to destroy the dataset (zfs destroy -f)
    recursive : boolean
        also destroy all the child datasets (zfs destroy -r)
    recursive_all : boolean
        recursively destroy all dependents, including cloned file systems
        outside the target hierarchy. (-R)