浏览代码

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:

正在加载...
取消
保存