0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-04-21 16:54:38 +02:00

install python-tornado package in case rest_tornado is used

This commit is contained in:
Tobias Jungel 2016-03-09 10:43:11 +01:00
parent 7abdf217a9
commit 30909c7c1b
2 changed files with 6 additions and 1 deletions

View File

@ -6,7 +6,11 @@ include:
salt-api:
{% if salt_settings.install_packages %}
pkg.installed:
- name: {{ salt_settings.salt_api }}
- pkgs:
- {{ salt_settings.salt_api }}
{% if salt['pillar.get']('salt:master:rest_tornado', {}) %}
- {{ salt_settings.python_tornado }}
{% endif %}
{% endif %}
service.running:
- enable: True

View File

@ -17,6 +17,7 @@ salt:
salt_cloud: salt-cloud
salt_api: salt-api
salt_ssh: salt-ssh
python_tornado: python-tornado
python_git: python-git