A module to wrap archive calls
Members
Uses the gunzip command to unpack gzip files
CLI Example to create /tmp/sourcefile.txt:
salt '*' archive.gunzip /tmp/sourcefile.txt.gz
Uses the gzip command to create gzip files
CLI Example to create /tmp/sourcefile.txt.gz:
salt '*' archive.gzip /tmp/sourcefile.txt
Uses the rar command to create rar files Uses rar for Linux from http://www.rarlab.com/
CLI Example:
salt '*' archive.rar /tmp/rarfile.rar /tmp/sourcefile1 /tmp/sourcefile2
Uses the tar command to pack, unpack, etc tar files
CLI Example:
salt '*' archive.tar cjvf /tmp/tarfile.tar.bz2 /tmp/file1 /tmp/file2
Uses the unrar command to unpack rar files Uses rar for Linux from http://www.rarlab.com/
CLI Example:
salt '*' archive.unrar /tmp/rarfile.rar /home/strongbad/ file1 file2