chef-handler-profiler 0.0.1 → 0.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/README.md +8 -2
- data/lib/chef/handler/chef_profiler.rb +1 -1
- metadata +37 -50
data/README.md
CHANGED
@@ -22,12 +22,18 @@ Use the
|
|
22
22
|
[chef_handler cookbook by Opscode](http://community.opscode.com/cookbooks/chef_handler).
|
23
23
|
Create a recipe with the following:
|
24
24
|
|
25
|
+
include_recipe "chef_handler"
|
26
|
+
|
25
27
|
# Install `chef-handler-profiler` gem during the compile phase
|
26
28
|
chef_gem "chef-handler-profiler"
|
27
29
|
|
30
|
+
# load the gem here so it gets added to the $LOAD_PATH, otherwise chef_handler
|
31
|
+
# will fail.
|
32
|
+
require 'chef/handler/chef_profiler'
|
33
|
+
|
28
34
|
# Activate the handler immediately during compile phase
|
29
35
|
chef_handler "Chef::Handler::Profiler" do
|
30
|
-
source "chef/handler/
|
36
|
+
source "chef/handler/chef_profiler"
|
31
37
|
action :nothing
|
32
38
|
end.run_action(:enable)
|
33
39
|
|
@@ -42,7 +48,7 @@ them:
|
|
42
48
|
Then add to the configuration (`/etc/chef/solo.rb` for chef-solo or
|
43
49
|
`/etc/chef/client.rb` for chef-client):
|
44
50
|
|
45
|
-
require "chef/handler/
|
51
|
+
require "chef/handler/chef_profiler"
|
46
52
|
report_handlers << Chef::Handler::Profiler.new
|
47
53
|
exception_handlers << Chef::Handler::Profiler.new
|
48
54
|
|
metadata
CHANGED
@@ -1,77 +1,64 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-profiler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Joe Miller
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-09-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: chef
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 10
|
29
|
-
- 14
|
30
|
-
version: "10.14"
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>'
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '10.14'
|
31
22
|
type: :development
|
32
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>'
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '10.14'
|
33
30
|
description: Report on the run time of cookbooks, recipes, and resources
|
34
|
-
email:
|
31
|
+
email:
|
35
32
|
- joeym@joeym.net
|
36
33
|
executables: []
|
37
|
-
|
38
34
|
extensions: []
|
39
|
-
|
40
35
|
extra_rdoc_files: []
|
41
|
-
|
42
|
-
files:
|
36
|
+
files:
|
43
37
|
- LICENSE
|
44
38
|
- README.md
|
45
39
|
- lib/chef/handler/chef_profiler.rb
|
46
|
-
has_rdoc: true
|
47
40
|
homepage: https://github.com/joemiller/chef-handler-profiler
|
48
41
|
licenses: []
|
49
|
-
|
50
42
|
post_install_message:
|
51
43
|
rdoc_options: []
|
52
|
-
|
53
|
-
require_paths:
|
44
|
+
require_paths:
|
54
45
|
- lib
|
55
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
67
|
-
- 0
|
68
|
-
version: "0"
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
none: false
|
48
|
+
requirements:
|
49
|
+
- - ! '>='
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: '0'
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ! '>='
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
69
58
|
requirements: []
|
70
|
-
|
71
59
|
rubyforge_project:
|
72
|
-
rubygems_version: 1.
|
60
|
+
rubygems_version: 1.8.24
|
73
61
|
signing_key:
|
74
62
|
specification_version: 3
|
75
63
|
summary: Chef Profiler Handler
|
76
64
|
test_files: []
|
77
|
-
|