Giter Site home page Giter Site logo

chef-slack_handler's People

Contributors

barthv avatar danryan avatar lusis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chef-slack_handler's Issues

Slack changed their endpoint

change line 55 in files/default/slack_handler.rb from:

slack = Slackr::Webhook.new( team, api_key, config)

to:

slack = Slackr::connect( team, api_key, config )

Unable to integrate chef with slack using the incoming web hooks

Hi there,
I am constantly trying to integrate my chef handler reports to slack for reporting the chef-client run. But for some reason, i am not been able to use the method you have suggested as i get the following error.

Running handlers:
[2014-12-22T11:59:29+00:00] INFO: Running report handlers
[2014-12-22T11:59:29+00:00] DEBUG: Sending report to Slack #channel@#{team}.slack.com
[2014-12-22T11:59:29+00:00] DEBUG: Failed to send message to Slack: Slack.com - 404 - No hooks

Chef::Handler::Slack Running handlers complete [2014-12-22T11:59:29+00:00] INFO: Report handlers complete Chef Client finished, 3/10 resources updated in 2.509132201 seconds
For some reason i get a 404 NO HOOKS error. Could you kindly help me with another alternative? Also what are :tokens?? isn't it WEBHOOK URL? as that is the only thing we get during a slack incoming web hook creation.

Hoping to get a response at the earliest as this is very urgent.

Thank you for looking it.
Regards,
Akshay

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.