Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dalen/slack-puppetdbquery
PuppetDB query command for Slack
https://github.com/dalen/slack-puppetdbquery
Last synced: 21 days ago
JSON representation
PuppetDB query command for Slack
- Host: GitHub
- URL: https://github.com/dalen/slack-puppetdbquery
- Owner: dalen
- License: apache-2.0
- Created: 2014-12-05T13:21:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-20T15:08:25.000Z (over 9 years ago)
- Last Synced: 2024-10-26T19:26:39.911Z (25 days ago)
- Language: CoffeeScript
- Homepage:
- Size: 148 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A outgoing webhook handler for [Slack](https://slack.com) that queries PuppetDB
for nodes. The node query syntax is done using
[node-puppetdbquery](https://www.npmjs.org/package/node-puppetdbquery).Installation
============clone the git repo on your PuppetDB host, copy the `config.json.example` file to
`config.json` and edit it to match your environment. Especially edit the token
to match the one for your Slack webhook.Install the dependencies using `npm install` (in the source directory).
And then run it using `npm start` (requires coffee-script,
`npm install -g coffee-script`).Then setup a outgoing Slack webhook to point to to the URL of your server, and
choose some activation keyword like `puppetdbquery:`.