mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
State unzip should use unzip command instead of unzip_cmd. Issue #27316
This commit is contained in:
parent
f5c3f157dd
commit
bf216c101e
@ -174,7 +174,7 @@ def extracted(name,
|
||||
|
||||
log.debug('Extract {0} in {1}'.format(filename, name))
|
||||
if archive_format == 'zip':
|
||||
files = __salt__['archive.cmd_unzip'](filename, name)
|
||||
files = __salt__['archive.unzip'](filename, name)
|
||||
elif archive_format == 'rar':
|
||||
files = __salt__['archive.unrar'](filename, name)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user