Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

The chef_slack cookbook has been deprecated

Author provided reason for deprecation:

The chef_slack cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef_slack cookbook is no longer recommended.

RSS

chef_slack (6) Versions 1.0.0

Slack resource for posting to slack.com channels

Policyfile
Berkshelf
Knife
cookbook 'chef_slack', '= 1.0.0', :supermarket
cookbook 'chef_slack', '= 1.0.0'
knife supermarket install chef_slack
knife supermarket download chef_slack
README
Dependencies
Changelog
Quality 50%

chef_slack Cookbook

Build Status Cookbook Version

This cookbook sends messages to a Slack chatroom using the Incoming Webhook Integration

Requirements

packages

Attributes

slack::default

Key Type Description Default
<tt>['slack']['webhook_url']</tt> String Your Incoming Webhook URL <tt>nil</tt>

Custom Resource Usage

In your metadata.rb you need to add depends chef_slack' and add include_recipe 'chef_slack' to your recipe. Passing the below will use default attributes

slack_notify "Say Summat!"
slack_notify "send_notification_message" do
  message "This is a notification message"
  webhook_url 'https://hooks.slack.com/services/XXXX/XXXXXXX/XXXXXX'
  not_if { node['im_boring'] }
end
slack_notify "channel_nothing" do
  message "heres a message to kick off later"
  username 'test_user'
  channels ['foo','bar']
  webhook_url 'https://hooks.slack.com/services/XXXX/XXXXXXX/XXXXXX'
  action :nothing
end

something "talk_as_test_user_to_multiple_channels" do
  notifies :say, "slack[channel_nothing]", :immediately
end

License & Authors

Author: Ian Henry 

Author: Jason Rohwedder  https://github.com/KennaSecurity/chef-slack

Copyright:: 2009-2015, Chef Software, Inc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef_slack CHANGELOG

This file is used to list changes made in each version of the chef_slack cookbook.

v1.0.0 (2016-09-15)

  • Require Chef 12.1
  • Testing updates

0.2.0

  • Initial push to supermarket
  • Add linting / integration testing in Travis
  • Add maintainers docs, contributing docs, and testing docs
  • Add license headers to files
  • Add a Berksfile
  • Added additional platforms to the metadata
  • Add issues_url, source_url and chef_version to the metadata
  • Add a chefignore file to limit files uploaded to the chef server
  • Attribute the original work in the readme

0.1.0

  • [Ian Henry] - Initial release of slack

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

1.0.0 passed this metric