浏览代码

Use conf_file pillar when building from source

susefix
George Robinson 8 年前
父节点
当前提交
6cab66306b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      nginx/ng/src.sls

+ 2
- 2
nginx/ng/src.sls 查看文件

@@ -29,7 +29,7 @@ nginx_download:

nginx_configure:
cmd.run:
- name: ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf {{ nginx.source.opts | join(' ') }}
- name: ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path={{ nginx.lookup.conf_file }} {{ nginx.source.opts | join(' ') }}
- cwd: /tmp/nginx-{{ nginx.source_version }}
- require:
- archive: nginx_download
@@ -59,4 +59,4 @@ nginx_link:
- require:
- cmd: nginx_install
- onchanges:
- cmd: nginx_install
- cmd: nginx_install

正在加载...
取消
保存