0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Sends events (like host built) from Foreman to Slack.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

Foreman Slack

WIP A plugin with sends events from Foreman to a Slack channel. It currently sends only "host is built" event. More is planned.

Installation

Foreman Slack can be installed only as a gem. See How to install a Plugin for how to install on Foreman.

SLACK WEBHOOK_URL

To get WEBHOOK_URL you need:

  1. Go to https://slack.com/apps/A0F7XDUAZ-incoming-webhooks
  2. Choose your team, press configure
  3. In configurations press add configuration
  4. Choose channel, press "Add Incoming WebHooks integration"

Usage

Once you've got a Slack Webhook URL, you can add it in /settings, under the Slack tab.

TODO

  • Add 'Puppet error state' event
  • Add tests

Contributing

Fork and send a Pull Request. Thanks!

Copyright

Copyright (c) 2016 Shlomi Zadok

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.