mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Implemented zfs.bookmark_absent
This commit is contained in:
parent
edf342973f
commit
a381b5e650
@ -165,4 +165,18 @@ def snapshot_absent(name, force=False, recursive=False):
|
||||
'''
|
||||
return _absent(name, 'snapshot', force, recursive)
|
||||
|
||||
|
||||
def bookmark_absent(name, force=False, recursive=False):
|
||||
'''
|
||||
ensure bookmark 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)
|
||||
'''
|
||||
return _absent(name, 'bookmark', force, recursive)
|
||||
|
||||
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
|
||||
|
Loading…
Reference in New Issue
Block a user