瀏覽代碼

Merge pull request #96 from aboe76/rest_tornado

added rest_tornado to _defaults.conf
tags/v0.57.0
Nitin Madhok 9 年之前
父節點
當前提交
22fe873c5b
共有 2 個檔案被更改,包括 17 行新增0 行删除
  1. +8
    -0
      pillar.example
  2. +9
    -0
      salt/files/master.d/_defaults.conf

+ 8
- 0
pillar.example 查看文件

@@ -19,6 +19,14 @@ salt:
file_roots:
base:
- /srv/salt

# for salt-api with tornado rest interface
rest_tornado:
port: 8000
ssl_crt: /etc/pki/api/certs/server.crt
ssl_key: /etc/pki/api/certs/server.key
debug: False
disable_ssl: False
# salt minion config:
minion:

+ 9
- 0
salt/files/master.d/_defaults.conf 查看文件

@@ -947,6 +947,15 @@ rest_cherrypy:
{%- endfor %}
{%- endif %}

{% if 'rest_tornado' in cfg_master %}
##### rest_tornado #####
###########################################
rest_tornado:
{% for name, value in cfg_master['rest_tornado'].items() %}
{{ name }}: {{ value }}
{%- endfor %}
{%- endif %}

{% if 'presence_events' in cfg_master %}
##### presence events #####
##########################################

Loading…
取消
儲存