瀏覽代碼

Changed formating in pillar example to avoid warning about wrong dictionary format from Salt. Added comment about type of token.

tags/v0.57.0
Angelo Verona 7 年之前
父節點
當前提交
c8e86c5d76
共有 1 個文件被更改,包括 26 次插入26 次删除
  1. +26
    -26
      pillar.example

+ 26
- 26
pillar.example 查看文件

@@ -88,19 +88,19 @@ salt:

# 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
- slack:
token: xoxp-XXXXX-XXXXXXX # use Slack's legacy API token
control: True
valid_users:
- someuser
- otheruser
valid_commands:
- test.ping
- list_jobs
aliases:
list_jobs:
type: runner
cmd: jobs.list_jobs

# optional: these reactors will be configured on the master
# They override reactors configured in
@@ -164,19 +164,19 @@ salt:

# 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
- slack:
token: xoxp-XXXXX-XXXXXXX # use Slack's legacy API token
control: True
valid_users:
- someuser
- otheruser
valid_commands:
- test.ping
- list_jobs
aliases:
list_jobs:
type: runner
cmd: jobs.list_jobs

# optional beacons configuration
beacons:

Loading…
取消
儲存