Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 11 година
пре 11 година
123456789101112131415161718
  1. {% from "nginx/map.jinja" import nginx as nginx_map with context %}
  2. include:
  3. - nginx.common
  4. {% if salt['pillar.get']('nginx:use_upstart', nginx_map['use_upstart']) %}
  5. - nginx.upstart
  6. {% elif salt['pillar.get']('nginx:use_sysvinit', nginx_map['use_sysvinit']) %}
  7. - nginx.sysvinit
  8. {% endif %}
  9. {% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
  10. - nginx.users
  11. {% endif %}
  12. {% if pillar.get('nginx', {}).get('install_from_source', false) %}
  13. - nginx.source
  14. {% else %}
  15. - nginx.package
  16. {% endif -%}