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.
|
- # nginx.ng
- #
- # Meta-state to fully install nginx.
-
- {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
-
- include:
- - nginx.ng.config
- - nginx.ng.service
- - nginx.ng.servers
- - nginx.ng.certificates
-
- extend:
- nginx_service:
- service:
- - listen:
- - file: nginx_config
- - require:
- - file: nginx_config
- nginx_config:
- file:
- - require:
- {% if nginx.install_from_source %}
- - cmd: nginx_install
- {% else %}
- - pkg: nginx_install
- {% endif %}
|