mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 00:48:02 +01:00
Support engine configuration
This commit is contained in:
parent
76de5f9285
commit
ac4ed62c03
@ -43,6 +43,22 @@ salt:
|
||||
# filter to use for Most other LDAP servers
|
||||
auth.ldap.filter: {% raw %}'uid={{ username }}'{% endraw %}
|
||||
|
||||
# optional engine configuration
|
||||
engines:
|
||||
slack:
|
||||
token: xoxp-XXXXX-XXXXXXX
|
||||
control: True
|
||||
valid_users:
|
||||
- someuser
|
||||
- otheruser
|
||||
valid_commands:
|
||||
- test.ping
|
||||
- list_jobs
|
||||
aliases:
|
||||
list_jobs:
|
||||
type: runner
|
||||
cmd: jobs.list_jobs
|
||||
|
||||
# salt minion config:
|
||||
minion:
|
||||
|
||||
|
8
salt/files/master.d/engine.conf
Normal file
8
salt/files/master.d/engine.conf
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# This file is managed by Salt! Do not edit by hand!
|
||||
#
|
||||
{%- set engines = salt['pillar.get']('salt:engines') -%}
|
||||
{%- if engines %}
|
||||
engines:
|
||||
{{ engines | yaml(False) | indent(2) }}
|
||||
{%- endif -%}
|
Loading…
Reference in New Issue
Block a user