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.

17 lines
413B

  1. include:
  2. - nginx.common
  3. {% if pillar.get('nginx', {}).get('use_upstart', true) %}
  4. - nginx.upstart
  5. {% elif pillar.get('nginx', {}).get('use_sysvinit', true) %}
  6. - nginx.sysvinit
  7. {% endif %}
  8. {% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
  9. - nginx.users
  10. {% endif %}
  11. {% if pillar.get('nginx', {}).get('install_from_source', false) %}
  12. - nginx.source
  13. {% else %}
  14. - nginx.package
  15. {% endif -%}