2013-08-21 21:01:51 +02:00
|
|
|
include:
|
|
|
|
- nginx.common
|
2014-05-04 23:20:48 +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 %}
|
2013-08-21 21:17:15 +02:00
|
|
|
{% if pillar.get('nginx', {}).get('install_from_source') %}
|
|
|
|
- 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
|
|
|
|