mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-27 22:38:10 +01:00
added rest_tornado to _defaults.conf
see pillar.example for configuration
This commit is contained in:
parent
f39fff2329
commit
7ddc1692ec
@ -19,6 +19,14 @@ salt:
|
|||||||
file_roots:
|
file_roots:
|
||||||
base:
|
base:
|
||||||
- /srv/salt
|
- /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:
|
# salt minion config:
|
||||||
minion:
|
minion:
|
||||||
|
@ -947,6 +947,15 @@ rest_cherrypy:
|
|||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- 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 %}
|
{% if 'presence_events' in cfg_master %}
|
||||||
##### presence events #####
|
##### presence events #####
|
||||||
##########################################
|
##########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user