Skip to content

Commit

Permalink
Added state to install Cerebro binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
psmiraglia committed Jun 30, 2017
1 parent 02ec272 commit b3537ea
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cerebro/binaries.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{% from 'cerebro/map.jinja' import cerebro with context %}
cerebro_binaries:
archive.extracted:
- name: {{ cerebro.home }}
- if_missing: {{ cerebro.home }}
- source: https://github.com/lmenezes/cerebro/releases/download/v{{ cerebro.version }}/cerebro-{{ cerebro.version }}.tgz
- source_hash: {{ cerebro.hash }}
- archive_format: tar
- options: '--strip=1'
- enforce_toplevel: False
- user: {{ cerebro.user }}
- group: {{ cerebro.group }}

0 comments on commit b3537ea

Please sign in to comment.