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.

28 satır
529B

  1. # nginx.ng
  2. #
  3. # Meta-state to fully install nginx.
  4. {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
  5. include:
  6. - nginx.ng.config
  7. - nginx.ng.service
  8. - nginx.ng.vhosts
  9. - nginx.ng.certificates
  10. extend:
  11. nginx_service:
  12. service:
  13. - watch:
  14. - file: nginx_config
  15. - require:
  16. - file: nginx_config
  17. nginx_config:
  18. file:
  19. - require:
  20. {% if nginx.install_from_source %}
  21. - cmd: nginx_install
  22. {% else %}
  23. - pkg: nginx_install
  24. {% endif %}