瀏覽代碼

Added pillar example

tags/v0.55.0
Ari Lerner 11 年之前
父節點
當前提交
d11dd3f887
共有 4 個檔案被更改,包括 16 行新增5 行删除
  1. +0
    -2
      README.md
  2. +4
    -0
      README.rst
  3. +4
    -3
      init.sls
  4. +8
    -0
      pillar.example

+ 0
- 2
README.md 查看文件

@@ -1,2 +0,0 @@
nginx
=====

+ 4
- 0
README.rst 查看文件

@@ -0,0 +1,4 @@
nginx
=====

Install nginx

+ 4
- 3
init.sls 查看文件

@@ -1,8 +1,9 @@
include:
- nginx.common
- nginx.users
# To install from a package
# If you want to install from source
# simply replace this comment
{% if pillar.get('nginx', {}).get('install_from_source') %}
- nginx.source
{% else %}
- nginx.package
{% endif -%}


+ 8
- 0
pillar.example 查看文件

@@ -0,0 +1,8 @@
nginx:
install_from_source: True
with_luajit: False
with_openresty: True
modules:
headers-more:
source: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.21
source_hash: sha1=DAFJAKSDFJAKDFJ

Loading…
取消
儲存