|
|
|
|
|
|
|
|
{%- 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: |
|
|
|
|
|
- purged |
|
|
|
|
|
- name: {{ salt_settings['python_cherrypy'] }} |
|
|
|
|
|
pip: |
|
|
|
|
|
- installed |
|
|
|
|
|
|
|
|
pkg.purged |
|
|
|
|
|
- name: {{ salt_settings.python_cherrypy }} |
|
|
|
|
|
pip.installed |
|
|
- name: cherrypy |
|
|
- name: cherrypy |
|
|
- require: |
|
|
- require: |
|
|
- pkg: salt_api_cherrypy |
|
|
- pkg: salt_api_cherrypy |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- if 'rest_tornado' in cfg_master %} |
|
|
{%- if 'rest_tornado' in cfg_master %} |
|
|
salt_api_tornado: |
|
|
salt_api_tornado: |
|
|
pkg: |
|
|
|
|
|
- purged |
|
|
|
|
|
- name: {{ salt_settings['python_tornado'] }} |
|
|
|
|
|
pip: |
|
|
|
|
|
- installed |
|
|
|
|
|
|
|
|
pkg.purged |
|
|
|
|
|
- name: {{ salt_settings.python_tornado }} |
|
|
|
|
|
pip.installed |
|
|
- name: tornado |
|
|
- name: tornado |
|
|
- require: |
|
|
- require: |
|
|
- pkg: salt_api_tornado |
|
|
- pkg: salt_api_tornado |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if 'rest_cherrypy' in cfg_master %} |
|
|
{% if 'rest_cherrypy' in cfg_master %} |
|
|
salt_api_cherrypy: |
|
|
salt_api_cherrypy: |
|
|
pkg: |
|
|
|
|
|
- installed |
|
|
|
|
|
- name: {{ salt_settings['python_cherrypy'] }} |
|
|
|
|
|
|
|
|
pkg.installed |
|
|
|
|
|
- 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: |
|
|
|
|
|
- installed |
|
|
|
|
|
- name: {{ salt_settings['python_tornado'] }} |
|
|
|
|
|
|
|
|
pkg.installed |
|
|
|
|
|
- name: {{ salt_settings.python_tornado }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{%- endif %} |
|
|
{%- endif %} |