Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

luajit2.sls 528B

12345678910111213141516
  1. {% set nginx = pillar.get('nginx', {}) -%}
  2. {% set home = nginx.get('home', '/var/www') -%}
  3. {% set source = nginx.get('source_root', '/usr/local/src') -%}
  4. get-luajit2:
  5. file.managed:
  6. - name: {{ source }}/luajit.tar.gz
  7. - source: http://luajit.org/download/LuaJIT-2.0.1.tar.gz
  8. - source_hash: sha1=330492aa5366e4e60afeec72f15e44df8a794db5
  9. cmd.wait:
  10. - cwd: {{ nginx_home }}
  11. - name: tar -zxf {{ source }}/luajit.tar.gz -C {{ source }}
  12. - watch:
  13. - file: get-luajit2
  14. - require_in:
  15. - cmd: nginx