diff --git a/salt/states/archive.py b/salt/states/archive.py index e8ec7a01aa..7d8ba6e4e3 100644 --- a/salt/states/archive.py +++ b/salt/states/archive.py @@ -23,15 +23,15 @@ def extracted(name, .. code-block:: yaml - 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/ + 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/ name Directory name where to extract the archive