Skip to content

Commit

Permalink
Add option to skip verifying the archive hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrysleddens committed Apr 19, 2019
1 parent 62e4141 commit 04e96a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cerebro/binaries.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ cerebro_binaries:
- name: {{ cerebro.home }}
- if_missing: {{ cerebro.home }}
- source: https://github.com/lmenezes/cerebro/releases/download/v{{ cerebro.version }}/cerebro-{{ cerebro.version }}.tgz
{% if pillar['cerebro']['skip_verify'] == 'true' %}
- skip_verify: True
{% else %}
- source_hash: {{ cerebro.hash }}
{% endif %}
- archive_format: tar
- options: '--strip=1'
- enforce_toplevel: False
Expand Down

0 comments on commit 04e96a2

Please sign in to comment.