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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chef-handler-copperegg (0.0.8)
4
+ chef-handler-copperegg (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 CopperEgg Corporation.
1
+ Copyright (c) 2013,2014 CopperEgg Corporation.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,24 +1,27 @@
1
- # Chef::Handler::Copperegg
1
+ chef-handler-copperegg
2
2
 
3
- TODO: Write a gem description
3
+ Chef Handler to create annotations at CopperEgg for chef runs.
4
4
 
5
- ## Installation
5
+ Recent Changes
6
+ Updated to version 0.1.4 on 3/25/14
6
7
 
7
- Add this line to your application's Gemfile:
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
- And then execute:
11
+ ====Description====
12
12
 
13
- $ bundle
13
+ This is a simple Chef report and exception handler that reports status of a Chef run to your CopperEgg UI.
14
14
 
15
- Or install it yourself as:
15
+ http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers
16
16
 
17
- $ gem install chef-handler-copperegg
17
+ To enable this functionality, add the following in your run_list:
18
+ * copperegg
19
+ * chef_handler
20
+ * coppereg-handler
18
21
 
19
- ## Usage
22
+ On your next Chef run, the gem 'chef-handler-copperegg.gem' will be downloaded and installed on the client.
20
23
 
21
- TODO: Write usage instructions here
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
+
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'chef-handler-copperegg'
5
- s.version ='0.1.3'
5
+ s.version ='0.1.4'
6
6
  s.default_executable = 'chef-handler-copperegg'
7
7
 
8
8
  s.platform = Gem::Platform::RUBY
@@ -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 = run_statusend_time.to_i
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.3
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: 2013-04-23 00:00:00.000000000 Z
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.24
48
+ rubygems_version: 1.8.25
49
49
  signing_key:
50
50
  specification_version: 3
51
51
  summary: Chef Handler for CopperEgg metrics