Browse Source

Merge pull request #345 from Angelo-Verona/master

Changed pillar example formatting for Slack
master
Niels Abspoel 7 years ago
parent
commit
d01083f347
No account linked to committer's email address
1 changed files with 26 additions and 26 deletions
  1. +26
    -26
      pillar.example

+ 26
- 26
pillar.example View File

@@ -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…
Cancel
Save