Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created January 15, 2016 04:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterbush/1cacf1243bc4890fd6d8 to your computer and use it in GitHub Desktop.
Save rterbush/1cacf1243bc4890fd6d8 to your computer and use it in GitHub Desktop.
job_notify_slack:
slack.post_message:
- channel: 'alerts'
- from_name: 'Admin'
- api_key: 'xoxp-...'
- message: 'This state was executed successfully.'
@rterbush
Copy link
Author

016-01-15 03:54:17,793 [salt.template    ][DEBUG   ][13881] Rendered data from file: /var/cache/salt/master/files/base/reactor/beacon_slack_message.sls:
job_notify_slack:
  slack.post_message:
    - channel: 'alerts'
    - from_name: SuperAdmin
    - api_key: 'xoxp-snip'
    - message: 'This state was executed successfully.'


2016-01-15 03:54:17,874 [salt.utils.lazy  ][DEBUG   ][13881] LazyLoaded config.get
2016-01-15 03:54:17,875 [salt.loaded.int.render.yaml][DEBUG   ][13881] Results of YAML rendering:
OrderedDict([('job_notify_slack', OrderedDict([('slack.post_message', [OrderedDict([('channel', 'alerts')]), OrderedDict([('from_name', 'SuperAdmin')]), OrderedDict([('api_key', 'xoxp-snip')]), OrderedDict([('message', 'This state was executed successfully.')])])]))])
2016-01-15 03:54:17,875 [salt.template    ][PROFILE ][13881] Time (in seconds) to render '/var/cache/salt/master/files/base/reactor/beacon_slack_message.sls' using 'yaml' renderer: 0.0816669464111
2016-01-15 03:54:17,882 [salt.utils.process][INFO    ][13824] Process <class 'salt.utils.reactor.Reactor'> (13881) died with exit status None, restarting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment