Selaa lähdekoodia

Merge pull request #29 from ahmadsherif/patch-3

Fix errors in source.sls
tags/v0.55.0
Forrest 10 vuotta sitten
vanhempi
commit
bd5b3b8ce8
1 muutettua tiedostoa jossa 4 lisäystä ja 12 poistoa
  1. +4
    -12
      nginx/source.sls

+ 4
- 12
nginx/source.sls Näytä tiedosto

include:
- nginx.common

{% set nginx = pillar.get('nginx', {}) -%} {% set nginx = pillar.get('nginx', {}) -%}
{% set version = nginx.get('version', '1.5.2') -%} {% set version = nginx.get('version', '1.5.2') -%}
{% set checksum = nginx.get('checksum', 'sha1=3546be28a72251f8823ab6be6a1180d300d06f76') -%} {% set checksum = nginx.get('checksum', 'sha1=3546be28a72251f8823ab6be6a1180d300d06f76') -%}
{% set nginx_home = home + "/nginx-" + version -%} {% set nginx_home = home + "/nginx-" + version -%}
{% set nginx_modules_dir = source + "/nginx-modules" -%} {% set nginx_modules_dir = source + "/nginx-modules" -%}


{% if nginx['with_luajit'] -%}
include: include:
- nginx.common
{% if nginx['with_luajit'] %}
- nginx.luajit2 - nginx.luajit2
{% endif -%} {% endif -%}

{% if nginx['with_openresty'] -%}
include:
{% if nginx['with_openresty'] %}
- nginx.openresty - nginx.openresty
{% endif -%} {% endif -%}


- watch: - watch:
- file: get-nginx - file: get-nginx
- require_in: - require_in:
- cmd: make-nginx
- cmd: nginx
{% endfor -%} {% endfor -%}


{% if install_luajit -%}

{% endif -%}

get-ngx_devel_kit: get-ngx_devel_kit:
file.managed: file.managed:
- name: {{ source }}/ngx_devel_kit.tar.gz - name: {{ source }}/ngx_devel_kit.tar.gz

Loading…
Peruuta
Tallenna