Parcourir la source

Merge pull request #29 from ahmadsherif/patch-3

Fix errors in source.sls
susefix
Forrest il y a 10 ans
Parent
révision
bd5b3b8ce8
1 fichiers modifiés avec 4 ajouts et 12 suppressions
  1. +4
    -12
      nginx/source.sls

+ 4
- 12
nginx/source.sls Voir le fichier

@@ -1,6 +1,3 @@
include:
- nginx.common

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

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

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

@@ -76,13 +72,9 @@ get-nginx-{{name}}:
- watch:
- file: get-nginx
- require_in:
- cmd: make-nginx
- cmd: nginx
{% endfor -%}

{% if install_luajit -%}

{% endif -%}

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

Chargement…
Annuler
Enregistrer