2013-08-21 21:01:51 +02:00
|
|
|
include:
|
|
|
|
- nginx.common
|
2014-10-08 19:17:06 +02:00
|
|
|
{% if pillar.get('nginx', {}).get('use_upstart', true) %}
|
|
|
|
- nginx.upstart
|
2014-10-08 20:44:15 +02:00
|
|
|
{% elif pillar.get('nginx', {}).get('use_sysvinit', true) %}
|
|
|
|
- nginx.sysvinit
|
2014-10-08 19:17:06 +02:00
|
|
|
{% endif %}
|
2014-08-12 04:47:02 +02:00
|
|
|
{% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
|
2013-08-21 21:01:51 +02:00
|
|
|
- nginx.users
|
2014-05-04 23:20:48 +02:00
|
|
|
{% endif %}
|
2014-08-12 04:47:02 +02:00
|
|
|
{% if pillar.get('nginx', {}).get('install_from_source') %}
|
2013-08-21 21:17:15 +02:00
|
|
|
- nginx.source
|
|
|
|
{% else %}
|
2013-08-21 21:01:51 +02:00
|
|
|
- nginx.package
|
2013-08-21 21:17:15 +02:00
|
|
|
{% endif -%}
|
2013-08-21 21:01:51 +02:00
|
|
|
|