Sfoglia il codice sorgente

Added pillar example

susefix
Ari Lerner 11 anni fa
parent
commit
d11dd3f887
4 ha cambiato i file con 16 aggiunte e 5 eliminazioni
  1. +0
    -2
      README.md
  2. +4
    -0
      README.rst
  3. +4
    -3
      init.sls
  4. +8
    -0
      pillar.example

+ 0
- 2
README.md Vedi File

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

+ 4
- 0
README.rst Vedi File

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

Install nginx

+ 4
- 3
init.sls Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva