瀏覽代碼

Revert "Fix stuff suggested by @iggy."

This reverts commit c5ae289fa1.
master
Brian Jackson 9 年之前
父節點
當前提交
8448aa4021
共有 1 個檔案被更改,包括 16 行新增10 行删除
  1. +16
    -10
      salt/api.sls

+ 16
- 10
salt/api.sls 查看文件

@@ -38,9 +38,11 @@ salt_api_install:
{%- if use_pip %}
{%- if 'rest_cherrypy' in cfg_master %}
salt_api_cherrypy:
pkg.purged
- name: {{ salt_settings.python_cherrypy }}
pip.installed
pkg:
- purged
- name: {{ salt_settings['python_cherrypy'] }}
pip:
- installed
- name: cherrypy
- require:
- pkg: salt_api_cherrypy
@@ -49,9 +51,11 @@ salt_api_cherrypy:

{%- if 'rest_tornado' in cfg_master %}
salt_api_tornado:
pkg.purged
- name: {{ salt_settings.python_tornado }}
pip.installed
pkg:
- purged
- name: {{ salt_settings['python_tornado'] }}
pip:
- installed
- name: tornado
- require:
- pkg: salt_api_tornado
@@ -62,13 +66,15 @@ salt_api_tornado:

{% if 'rest_cherrypy' in cfg_master %}
salt_api_cherrypy:
pkg.installed
- name: {{ salt_settings.python_cherrypy }}
pkg:
- installed
- name: {{ salt_settings['python_cherrypy'] }}
{% endif %}

{% if 'rest_tornado' in cfg_master %}
salt_api_tornado:
pkg.installed
- name: {{ salt_settings.python_tornado }}
pkg:
- installed
- name: {{ salt_settings['python_tornado'] }}
{% endif %}
{%- endif %}

Loading…
取消
儲存