chef-handler-copperegg 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +15 -11
- data/chef-handler-copperegg.gemspec +1 -1
- data/lib/chef/handler/copperegg.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,24 +1,27 @@
|
|
1
|
-
|
1
|
+
chef-handler-copperegg
|
2
2
|
|
3
|
-
|
3
|
+
Chef Handler to create annotations at CopperEgg for chef runs.
|
4
4
|
|
5
|
-
|
5
|
+
Recent Changes
|
6
|
+
Updated to version 0.1.4 on 3/25/14
|
6
7
|
|
7
|
-
|
8
|
+
NOTE: Other that the updated version code (from 0.1.3 to 0.1.4), this code has not been modified since 4/2013.
|
8
9
|
|
9
|
-
gem 'chef-handler-copperegg'
|
10
10
|
|
11
|
-
|
11
|
+
====Description====
|
12
12
|
|
13
|
-
|
13
|
+
This is a simple Chef report and exception handler that reports status of a Chef run to your CopperEgg UI.
|
14
14
|
|
15
|
-
|
15
|
+
http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers
|
16
16
|
|
17
|
-
|
17
|
+
To enable this functionality, add the following in your run_list:
|
18
|
+
* copperegg
|
19
|
+
* chef_handler
|
20
|
+
* coppereg-handler
|
18
21
|
|
19
|
-
|
22
|
+
On your next Chef run, the gem 'chef-handler-copperegg.gem' will be downloaded and installed on the client.
|
20
23
|
|
21
|
-
|
24
|
+
You shouldn't need to do anything else.
|
22
25
|
|
23
26
|
## Contributing
|
24
27
|
|
@@ -27,3 +30,4 @@ TODO: Write usage instructions here
|
|
27
30
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
31
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
32
|
5. Create new Pull Request
|
33
|
+
|
@@ -22,7 +22,7 @@ class Chef
|
|
22
22
|
if elapsed < 60 # force duration to be >= 1 min for annotations to display
|
23
23
|
annot_endtime = run_status.start_time.to_i + 60
|
24
24
|
else
|
25
|
-
annot_endtime =
|
25
|
+
annot_endtime = run_status.end_time.to_i
|
26
26
|
end
|
27
27
|
elapsed_str = elapsed.to_s + (elapsed <= 1 ? 'second' : 'seconds')
|
28
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-copperegg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This Handler will report the metrics for a chef-client run to CopperEgg.
|
15
15
|
email:
|
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|
47
47
|
rubyforge_project:
|
48
|
-
rubygems_version: 1.8.
|
48
|
+
rubygems_version: 1.8.25
|
49
49
|
signing_key:
|
50
50
|
specification_version: 3
|
51
51
|
summary: Chef Handler for CopperEgg metrics
|