Archive states.
New in version 2014.1.0: (Hydrogen)
State that make sure an archive is extracted in a directory. The downloaded archive is erased if succesfully extracted. The archive is downloaded only if necessary.
graylog2-server:
archive:
- extracted
- name: /opt/
- source: https://github.com/downloads/Graylog2/graylog2-server/graylog2-server-0.9.6p1.tar.gz
- source_hash: md5=499ae16dcae71eeb7c3a30c75ea7a1a6
- archive_format: tar
- tar_options: z
- if_missing: /opt/graylog2-server-0.9.6p1/
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.