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.

18 line
465B

  1. include:
  2. - nginx.common
  3. # Only upstart OR sysvinit should default to true.
  4. {% if pillar.get('nginx', {}).get('use_upstart', true) %}
  5. - nginx.upstart
  6. {% elif pillar.get('nginx', {}).get('use_sysvinit', false) %}
  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 -%}