chef-handler-campfire 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/LICENSE CHANGED
@@ -174,28 +174,3 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
174
174
  of your accepting any such warranty or additional liability.
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright [2011] [Brian Scott]
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ Description
2
+ ===========
3
+
4
+ A Chef Exception & Reporting Handler for 37signal's
5
+ [Campfire](http://www.campfirenow.com).
6
+
7
+ Usage
8
+ =====
9
+
10
+ 1. Create a 37signals [Campfire](http://www.campfirenow.com) account.
11
+ 2. Retrieve your Campfire Token. URL TK
12
+ 3. Create a Campfire Room. URL TK
13
+ 4. Download the [chef_handler](http://community.opscode.com/cookbooks/chef_handler)
14
+ Cookbook.
15
+ 5. Given you've retrieved your Campfire Token as **TOKEN**, your Room ID as
16
+ **ROOM** and Subdomain as **SUBDOMAIN**, add a Recipe similar to the example
17
+ below:
18
+
19
+ ```ruby
20
+ include_recipe 'chef_handler'
21
+
22
+ gem_package('chef-handler-campfire'){action :nothing}.run_action(:install)
23
+
24
+ chef_handler 'Chef::Handler::Campfire' do
25
+ action :enable
26
+ token 'TOKEN'
27
+ room 'ROOM'
28
+ subdomain 'SUBDOMAIN'
29
+ source File.join(Gem.all_load_paths.grep(/chef-handler-campfire/).first,
30
+ 'chef', 'handler', 'campfire.rb')
31
+ end
32
+ ```
33
+
34
+ See also: [Enable Chef Handler with LWRP](http://wiki.opscode.com/display/chef/Distributing+Chef+Handlers#DistributingChefHandlers-EnabletheChefHandlerwiththe%7B%7Bchefhandler%7D%7DLWRP)
35
+
36
+
37
+ Authors
38
+ ============
39
+ 1. [Umang Chouhan](https://github.com/uchouhan) for the campfire gem.
40
+ 2. [Brain Scott](https://github.com/bscott) for the original campfire_handler gem.
41
+ 3. [Greg Albrecht](https://github.com/ampledata) for chef-handler-campfire gem.
42
+
43
+
44
+ Copyright
45
+ =========
46
+ Copyright 2012 Splunk, Inc.
47
+
48
+
49
+ License
50
+ =======
51
+ Apache License 2.0
@@ -17,7 +17,7 @@ require 'tinder'
17
17
  class Chef
18
18
  class Handler
19
19
  class Campfire < Chef::Handler
20
- VERSION = '2.0.0'
20
+ VERSION = '2.0.2'
21
21
 
22
22
  def initialize(subdomain, token, room)
23
23
  @subdomain = subdomain
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-campfire
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 2
10
+ version: 2.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Scott
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-05-30 00:00:00 Z
19
+ date: 2012-05-31 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: tinder
@@ -44,7 +44,7 @@ extra_rdoc_files: []
44
44
 
45
45
  files:
46
46
  - LICENSE
47
- - README.rdoc
47
+ - README.md
48
48
  - lib/chef/handler/campfire.rb
49
49
  homepage: https://github.com/ampledata/chef-handler-campfire
50
50
  licenses: []
data/README.rdoc DELETED
@@ -1,23 +0,0 @@
1
- = Campfire handler for Chef using Tinder
2
-
3
- Report chef exceptions to Campfire.
4
-
5
- Works fine with chef versions: 0.9.x and 0.10.x
6
-
7
- == Usage
8
-
9
- gem install campfire_handler
10
-
11
- In your chef client file (often placed at /etc/chef/client.rb) put:
12
-
13
- require "campfire_handler"
14
- exception_handlers << CampfireHandler.new(:subdomain => "your-campfire-subdomain",:token => "your-campfire-token-key")
15
-
16
-
17
- == Contributors
18
- Hat tip to Umang Chouhan (uchouhan) for the campfire gem.
19
-
20
- == Copyright
21
-
22
- Copyright (c) 2011 Brian Scott, See LICENSE for details.
23
-