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.

19 satır
517B

  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 -%}