mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
modules.archive.unzip: depend on zipfile module
This commit is contained in:
parent
315b031de9
commit
c1219e68c5
@ -466,6 +466,7 @@ def cmd_unzip(zip_file, dest, excludes=None,
|
||||
return _trim_files(files, trim_output)
|
||||
|
||||
|
||||
@salt.utils.decorators.depends('zipfile', fallback_function=cmd_unzip)
|
||||
def unzip(zip_file, dest, excludes=None,
|
||||
template=None, runas=None, trim_output=False, password=None):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user