chef-handler-xmpp
A chef handler that reports via a very simple xmpp one way client to jabber/gchat accounts.
Requirements
Only works on Chef >= 10.14
Usage/Installation
You might want to "gem build chef-handler-xmpp" and "gem install chef-handler-xmpp" beforehand.
Use the chef_handler cookbook by Opscode. Create a recipe called "xmpp_recipe.rb" in the "chef_handler/recipes/" directory with the following:
# This is a xmpp handler recipe
# Place it in the "chef_handler/recipes/" directory
include_recipe "chef_handler"
# Install the `xmpp4r` RubyGem during the compile phase
chef_gem "xmpp4r"
chef_gem "chef-handler-xmpp"
chef_handler "Chef::Handler::Xmpphandler" do
source "#{Gem::Specification.find_by_name('chef-handler-xmpp').lib_dirs_glob}/chef/handler/xmpphandler.rb"
action :enable
end
Licence
Author: Danielle Jenkins [email protected]
Copyright 2011-2012 Opscode, Inc. All Rights Reserved.
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.