State unzip should use unzip command instead of unzip_cmd. Issue #27316

This commit is contained in:
François-Xavier Choinière 2015-09-22 20:17:34 -04:00
parent f5c3f157dd
commit bf216c101e

View File

@ -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: