nginx-formula/nginx/init.sls
Travis J Parker 37fb389133 syslog support in the sysvinit paradigm
the debian package installs the nginx service just fine, but the extra
fifo->syslog functionality would be nice to have under debian as well.
2014-10-08 14:29:19 -07:00

17 lines
406 B
Plaintext

include:
- nginx.common
{% if pillar.get('nginx', {}).get('use_upstart', true) %}
- nginx.upstart
{% elif pillar.get('nginx', {}).get('use_sysvinit', true) %}
- nginx.sysvinit
{% endif %}
{% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
- nginx.users
{% endif %}
{% if pillar.get('nginx', {}).get('install_from_source') %}
- nginx.source
{% else %}
- nginx.package
{% endif -%}