瀏覽代碼

Group source.sls include declarations into one

susefix
Ahmad Sherif 10 年之前
父節點
當前提交
c28cac3483
共有 1 個檔案被更改,包括 3 行新增7 行删除
  1. +3
    -7
      nginx/source.sls

+ 3
- 7
nginx/source.sls 查看文件

@@ -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 -%}


Loading…
取消
儲存