Переглянути джерело

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

master
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:

Завантаження…
Відмінити
Зберегти