Fix source module iteration
* Fixing iteration for building nginx by source with respect to modules * Adding `CHANGELOG.rst` and `VERSION` per https://groups.google.com/forum/#!topic/salt-users/zHguqsk-mds
This commit is contained in:
parent
17d1fef1c7
commit
6a1becff4a
9
CHANGELOG.rst
Normal file
9
CHANGELOG.rst
Normal file
@ -0,0 +1,9 @@
|
||||
=============
|
||||
nginx-formula
|
||||
=============
|
||||
|
||||
0.0.3
|
||||
-----
|
||||
|
||||
- Using correct iteration method in ``source.sls`` for modules
|
||||
- Correct source_hash for ``headers-more`` module in ``pillar.example``
|
@ -61,7 +61,7 @@ get-nginx:
|
||||
- watch:
|
||||
- file: get-nginx
|
||||
|
||||
{% for name, module in nginx.get('modules', {}) -%}
|
||||
{% for name, module in nginx.get('modules', {}).items() -%}
|
||||
get-nginx-{{name}}:
|
||||
file.managed:
|
||||
- name: {{ nginx_modules_dir }}/{{name}}.tar.gz
|
||||
@ -145,7 +145,7 @@ nginx:
|
||||
--http-fastcgi-temp-path={{ home }}/fastcgi
|
||||
--with-debug
|
||||
--with-http_ssl_module
|
||||
{% for name, module in nginx.get('modules', {}) -%}
|
||||
{% for name, module in nginx.get('modules', {}).items() -%}
|
||||
--add-module={{nginx_modules_dir}}/{{name}} \
|
||||
--with-pcre --with-ipv6
|
||||
{% endfor %}
|
||||
|
@ -5,4 +5,4 @@ nginx:
|
||||
modules:
|
||||
headers-more:
|
||||
source: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.21
|
||||
source_hash: sha1=DAFJAKSDFJAKDFJ
|
||||
source_hash: sha1=dbf914cbf3f7b6cb7e033fa7b7c49e2f8879113b
|
||||
|
Loading…
Reference in New Issue
Block a user