2
0

Fix stuff suggested by @iggy.

Signed-off-by: René Jochum <rene@jochums.at>
This commit is contained in:
René Jochum 2015-07-13 22:31:32 +02:00
parent 90282eff03
commit c5ae289fa1

View File

@ -38,11 +38,9 @@ salt_api_install:
{%- if use_pip %} {%- if use_pip %}
{%- if 'rest_cherrypy' in cfg_master %} {%- if 'rest_cherrypy' in cfg_master %}
salt_api_cherrypy: salt_api_cherrypy:
pkg: pkg.purged
- purged - name: {{ salt_settings.python_cherrypy }}
- name: {{ salt_settings['python_cherrypy'] }} pip.installed
pip:
- installed
- name: cherrypy - name: cherrypy
- require: - require:
- pkg: salt_api_cherrypy - pkg: salt_api_cherrypy
@ -51,11 +49,9 @@ salt_api_cherrypy:
{%- if 'rest_tornado' in cfg_master %} {%- if 'rest_tornado' in cfg_master %}
salt_api_tornado: salt_api_tornado:
pkg: pkg.purged
- purged - name: {{ salt_settings.python_tornado }}
- name: {{ salt_settings['python_tornado'] }} pip.installed
pip:
- installed
- name: tornado - name: tornado
- require: - require:
- pkg: salt_api_tornado - pkg: salt_api_tornado
@ -66,15 +62,13 @@ salt_api_tornado:
{% if 'rest_cherrypy' in cfg_master %} {% if 'rest_cherrypy' in cfg_master %}
salt_api_cherrypy: salt_api_cherrypy:
pkg: pkg.installed
- installed - name: {{ salt_settings.python_cherrypy }}
- name: {{ salt_settings['python_cherrypy'] }}
{% endif %} {% endif %}
{% if 'rest_tornado' in cfg_master %} {% if 'rest_tornado' in cfg_master %}
salt_api_tornado: salt_api_tornado:
pkg: pkg.installed
- installed - name: {{ salt_settings.python_tornado }}
- name: {{ salt_settings['python_tornado'] }}
{% endif %} {% endif %}
{%- endif %} {%- endif %}