ohai 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. data/LICENSE +201 -0
  2. data/README.rdoc +98 -0
  3. data/Rakefile +61 -0
  4. data/bin/ohai +24 -0
  5. data/lib/ohai.rb +27 -0
  6. data/lib/ohai/application.rb +113 -0
  7. data/lib/ohai/config.rb +29 -0
  8. data/lib/ohai/exception.rb +23 -0
  9. data/lib/ohai/log.rb +26 -0
  10. data/lib/ohai/mixin/command.rb +208 -0
  11. data/lib/ohai/mixin/from_file.rb +36 -0
  12. data/lib/ohai/mixin/string.rb +29 -0
  13. data/lib/ohai/plugins/command.rb +21 -0
  14. data/lib/ohai/plugins/darwin/filesystem.rb +57 -0
  15. data/lib/ohai/plugins/darwin/hostname.rb +22 -0
  16. data/lib/ohai/plugins/darwin/kernel.rb +37 -0
  17. data/lib/ohai/plugins/darwin/network.rb +187 -0
  18. data/lib/ohai/plugins/darwin/platform.rb +36 -0
  19. data/lib/ohai/plugins/darwin/ps.rb +23 -0
  20. data/lib/ohai/plugins/darwin/ssh_host_key.rb +25 -0
  21. data/lib/ohai/plugins/darwin/system_profiler.rb +33 -0
  22. data/lib/ohai/plugins/darwin/uptime.rb +32 -0
  23. data/lib/ohai/plugins/dmi.rb +59 -0
  24. data/lib/ohai/plugins/ec2.rb +100 -0
  25. data/lib/ohai/plugins/erlang.rb +40 -0
  26. data/lib/ohai/plugins/freebsd/cpu.rb +52 -0
  27. data/lib/ohai/plugins/freebsd/filesystem.rb +57 -0
  28. data/lib/ohai/plugins/freebsd/hostname.rb +22 -0
  29. data/lib/ohai/plugins/freebsd/kernel.rb +37 -0
  30. data/lib/ohai/plugins/freebsd/memory.rb +50 -0
  31. data/lib/ohai/plugins/freebsd/network.rb +112 -0
  32. data/lib/ohai/plugins/freebsd/platform.rb +23 -0
  33. data/lib/ohai/plugins/freebsd/ps.rb +24 -0
  34. data/lib/ohai/plugins/freebsd/ssh_host_key.rb +26 -0
  35. data/lib/ohai/plugins/freebsd/uptime.rb +32 -0
  36. data/lib/ohai/plugins/freebsd/virtualization.rb +66 -0
  37. data/lib/ohai/plugins/hostname.rb +27 -0
  38. data/lib/ohai/plugins/java.rb +36 -0
  39. data/lib/ohai/plugins/kernel.rb +33 -0
  40. data/lib/ohai/plugins/keys.rb +22 -0
  41. data/lib/ohai/plugins/languages.rb +21 -0
  42. data/lib/ohai/plugins/linux/block_device.rb +38 -0
  43. data/lib/ohai/plugins/linux/cpu.rb +60 -0
  44. data/lib/ohai/plugins/linux/filesystem.rb +57 -0
  45. data/lib/ohai/plugins/linux/hostname.rb +26 -0
  46. data/lib/ohai/plugins/linux/kernel.rb +33 -0
  47. data/lib/ohai/plugins/linux/lsb.rb +38 -0
  48. data/lib/ohai/plugins/linux/memory.rb +83 -0
  49. data/lib/ohai/plugins/linux/network.rb +112 -0
  50. data/lib/ohai/plugins/linux/platform.rb +43 -0
  51. data/lib/ohai/plugins/linux/ps.rb +23 -0
  52. data/lib/ohai/plugins/linux/ssh_host_key.rb +26 -0
  53. data/lib/ohai/plugins/linux/uptime.rb +28 -0
  54. data/lib/ohai/plugins/linux/virtualization.rb +77 -0
  55. data/lib/ohai/plugins/netbsd/cpu.rb +48 -0
  56. data/lib/ohai/plugins/netbsd/filesystem.rb +57 -0
  57. data/lib/ohai/plugins/netbsd/hostname.rb +22 -0
  58. data/lib/ohai/plugins/netbsd/kernel.rb +35 -0
  59. data/lib/ohai/plugins/netbsd/memory.rb +98 -0
  60. data/lib/ohai/plugins/netbsd/network.rb +111 -0
  61. data/lib/ohai/plugins/netbsd/platform.rb +22 -0
  62. data/lib/ohai/plugins/netbsd/ps.rb +24 -0
  63. data/lib/ohai/plugins/netbsd/ssh_host_key.rb +26 -0
  64. data/lib/ohai/plugins/netbsd/uptime.rb +31 -0
  65. data/lib/ohai/plugins/netbsd/virtualization.rb +65 -0
  66. data/lib/ohai/plugins/network.rb +52 -0
  67. data/lib/ohai/plugins/ohai_time.rb +21 -0
  68. data/lib/ohai/plugins/openbsd/cpu.rb +38 -0
  69. data/lib/ohai/plugins/openbsd/filesystem.rb +57 -0
  70. data/lib/ohai/plugins/openbsd/hostname.rb +22 -0
  71. data/lib/ohai/plugins/openbsd/kernel.rb +35 -0
  72. data/lib/ohai/plugins/openbsd/memory.rb +98 -0
  73. data/lib/ohai/plugins/openbsd/network.rb +111 -0
  74. data/lib/ohai/plugins/openbsd/platform.rb +23 -0
  75. data/lib/ohai/plugins/openbsd/ps.rb +24 -0
  76. data/lib/ohai/plugins/openbsd/ssh_host_key.rb +26 -0
  77. data/lib/ohai/plugins/openbsd/uptime.rb +32 -0
  78. data/lib/ohai/plugins/openbsd/virtualization.rb +66 -0
  79. data/lib/ohai/plugins/os.rb +48 -0
  80. data/lib/ohai/plugins/perl.rb +37 -0
  81. data/lib/ohai/plugins/platform.rb +25 -0
  82. data/lib/ohai/plugins/python.rb +37 -0
  83. data/lib/ohai/plugins/ruby.rb +39 -0
  84. data/lib/ohai/plugins/solaris2/cpu.rb +33 -0
  85. data/lib/ohai/plugins/solaris2/hostname.rb +25 -0
  86. data/lib/ohai/plugins/solaris2/kernel.rb +40 -0
  87. data/lib/ohai/plugins/solaris2/network.rb +141 -0
  88. data/lib/ohai/plugins/solaris2/platform.rb +33 -0
  89. data/lib/ohai/plugins/solaris2/ps.rb +23 -0
  90. data/lib/ohai/plugins/solaris2/ssh_host_key.rb +26 -0
  91. data/lib/ohai/plugins/uptime.rb +42 -0
  92. data/lib/ohai/plugins/virtualization.rb +86 -0
  93. data/lib/ohai/plugins/windows/filesystem.rb +44 -0
  94. data/lib/ohai/plugins/windows/hostname.rb +25 -0
  95. data/lib/ohai/plugins/windows/kernel.rb +75 -0
  96. data/lib/ohai/plugins/windows/network.rb +114 -0
  97. data/lib/ohai/plugins/windows/platform.rb +26 -0
  98. data/lib/ohai/system.rb +241 -0
  99. data/spec/ohai/mixin/command_spec.rb +37 -0
  100. data/spec/ohai/mixin/from_file_spec.rb +53 -0
  101. data/spec/ohai/plugins/darwin/hostname_spec.rb +34 -0
  102. data/spec/ohai/plugins/darwin/kernel_spec.rb +46 -0
  103. data/spec/ohai/plugins/darwin/platform_spec.rb +67 -0
  104. data/spec/ohai/plugins/dmi_spec.rb +73 -0
  105. data/spec/ohai/plugins/ec2_spec.rb +81 -0
  106. data/spec/ohai/plugins/erlang_spec.rb +63 -0
  107. data/spec/ohai/plugins/freebsd/hostname_spec.rb +34 -0
  108. data/spec/ohai/plugins/freebsd/kernel_spec.rb +37 -0
  109. data/spec/ohai/plugins/freebsd/platform_spec.rb +40 -0
  110. data/spec/ohai/plugins/hostname_spec.rb +39 -0
  111. data/spec/ohai/plugins/java_spec.rb +70 -0
  112. data/spec/ohai/plugins/kernel_spec.rb +43 -0
  113. data/spec/ohai/plugins/linux/cpu_spec.rb +128 -0
  114. data/spec/ohai/plugins/linux/hostname_spec.rb +52 -0
  115. data/spec/ohai/plugins/linux/kernel_spec.rb +31 -0
  116. data/spec/ohai/plugins/linux/lsb_spec.rb +60 -0
  117. data/spec/ohai/plugins/linux/platform_spec.rb +81 -0
  118. data/spec/ohai/plugins/linux/uptime_spec.rb +61 -0
  119. data/spec/ohai/plugins/linux/virtualization_spec.rb +131 -0
  120. data/spec/ohai/plugins/netbsd/hostname_spec.rb +34 -0
  121. data/spec/ohai/plugins/netbsd/kernel_spec.rb +36 -0
  122. data/spec/ohai/plugins/netbsd/platform_spec.rb +40 -0
  123. data/spec/ohai/plugins/ohai_time_spec.rb +46 -0
  124. data/spec/ohai/plugins/openbsd/hostname_spec.rb +34 -0
  125. data/spec/ohai/plugins/openbsd/kernel_spec.rb +37 -0
  126. data/spec/ohai/plugins/openbsd/platform_spec.rb +40 -0
  127. data/spec/ohai/plugins/os_spec.rb +69 -0
  128. data/spec/ohai/plugins/perl_spec.rb +89 -0
  129. data/spec/ohai/plugins/platform_spec.rb +56 -0
  130. data/spec/ohai/plugins/python_spec.rb +53 -0
  131. data/spec/ohai/plugins/ruby_spec.rb +51 -0
  132. data/spec/ohai/plugins/solaris2/hostname_spec.rb +43 -0
  133. data/spec/ohai/plugins/solaris2/kernel_spec.rb +164 -0
  134. data/spec/ohai/system_spec.rb +130 -0
  135. data/spec/ohai_spec.rb +27 -0
  136. data/spec/rcov.opts +2 -0
  137. data/spec/spec.opts +2 -0
  138. data/spec/spec_helper.rb +68 -0
  139. metadata +240 -0
@@ -0,0 +1,130 @@
1
+ #
2
+ # Author:: Adam Jacob (<adam@opscode.com>)
3
+ # Copyright:: Copyright (c) 2008 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require File.join(File.dirname(__FILE__), '..', '/spec_helper.rb')
20
+
21
+ describe Ohai::System, "initialize" do
22
+ it "should return an Ohai::System object" do
23
+ Ohai::System.new.should be_a_kind_of(Ohai::System)
24
+ end
25
+
26
+ it "should set @data to a Mash" do
27
+ Ohai::System.new.data.should be_a_kind_of(Mash)
28
+ end
29
+
30
+ it "should set @seen_plugins to a Hash" do
31
+ Ohai::System.new.seen_plugins.should be_a_kind_of(Hash)
32
+ end
33
+ end
34
+
35
+ describe Ohai::System, "method_missing" do
36
+ before(:each) do
37
+ @ohai = Ohai::System.new
38
+ end
39
+
40
+ it "should take a missing method and store the method name as a key, with its arguments as values" do
41
+ @ohai.guns_n_roses("chinese democracy")
42
+ @ohai.data["guns_n_roses"].should eql("chinese democracy")
43
+ end
44
+
45
+ it "should return the current value of the method name" do
46
+ @ohai.guns_n_roses("chinese democracy").should eql("chinese democracy")
47
+ end
48
+
49
+ it "should allow you to get the value of a key by calling method_missing with no arguments" do
50
+ @ohai.guns_n_roses("chinese democracy")
51
+ @ohai.guns_n_roses.should eql("chinese democracy")
52
+ end
53
+ end
54
+
55
+ describe Ohai::System, "attribute?" do
56
+ before(:each) do
57
+ @ohai = Ohai::System.new
58
+ @ohai.metallica("death magnetic")
59
+ end
60
+
61
+ it "should return true if an attribute exists with the given name" do
62
+ @ohai.attribute?("metallica").should eql(true)
63
+ end
64
+
65
+ it "should return false if an attribute does not exist with the given name" do
66
+ @ohai.attribute?("alice in chains").should eql(false)
67
+ end
68
+ end
69
+
70
+ describe Ohai::System, "set_attribute" do
71
+ before(:each) do
72
+ @ohai = Ohai::System.new
73
+ end
74
+
75
+ it "should let you set an attribute" do
76
+ @ohai.set_attribute(:tea, "is soothing")
77
+ @ohai.data["tea"].should eql("is soothing")
78
+ end
79
+ end
80
+
81
+ describe Ohai::System, "get_attribute" do
82
+ before(:each) do
83
+ @ohai = Ohai::System.new
84
+ @ohai.set_attribute(:tea, "is soothing")
85
+ end
86
+
87
+ it "should let you get an attribute" do
88
+ @ohai.get_attribute("tea").should eql("is soothing")
89
+ end
90
+ end
91
+
92
+ describe Ohai::System, "require_plugin" do
93
+ before(:each) do
94
+ @plugin_path = Ohai::Config[:plugin_path]
95
+ Ohai::Config[:plugin_path] = ["/tmp/plugins"]
96
+ File.stub!(:exists?).and_return(true)
97
+ @ohai = Ohai::System.new
98
+ @ohai.stub!(:from_file).and_return(true)
99
+ end
100
+
101
+ after(:each) do
102
+ Ohai::Config[:plugin_path] = @plugin_path
103
+ end
104
+
105
+ it "should convert the name of the plugin to a file path" do
106
+ plugin_name = "foo::bar"
107
+ plugin_name.should_receive(:gsub).with("::", File::SEPARATOR)
108
+ @ohai.require_plugin(plugin_name)
109
+ end
110
+
111
+ it "should check each part of the Ohai::Config[:plugin_path] for the plugin_filename.rb" do
112
+ @ohai.should_receive(:from_file).with("/tmp/plugins/foo.rb").and_return(true)
113
+ @ohai.require_plugin("foo")
114
+ end
115
+
116
+ it "should add a found plugin to the list of seen plugins" do
117
+ @ohai.require_plugin("foo")
118
+ @ohai.seen_plugins["foo"].should eql(true)
119
+ end
120
+
121
+ it "should return true if the plugin has been seen" do
122
+ @ohai.seen_plugins["foo"] = true
123
+ @ohai.require_plugin("foo")
124
+ end
125
+
126
+ it "should return true if the plugin has been loaded" do
127
+ @ohai.require_plugin("foo").should eql(true)
128
+ end
129
+ end
130
+
@@ -0,0 +1,27 @@
1
+ #
2
+ # Author:: Adam Jacob (<adam@opscode.com>)
3
+ # Copyright:: Copyright (c) 2008 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require File.dirname(__FILE__) + '/spec_helper.rb'
20
+
21
+ describe Ohai do
22
+
23
+ it "should have a version constant defined" do
24
+ Ohai::VERSION.should be_a_kind_of(String)
25
+ end
26
+
27
+ end
@@ -0,0 +1,2 @@
1
+ --exclude
2
+ spec,bin,/Library/Ruby
@@ -0,0 +1,2 @@
1
+ --format specdoc
2
+ --colour
@@ -0,0 +1,68 @@
1
+ begin
2
+ require 'spec'
3
+ require 'mixlib/config'
4
+ rescue LoadError
5
+ require 'rubygems'
6
+ gem 'rspec'
7
+ require 'spec'
8
+ require 'mixlib/config'
9
+ end
10
+
11
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
12
+ require 'ohai'
13
+ Ohai::Config[:log_level] = :error
14
+
15
+ def it_should_check_from(plugin, attribute, from, value)
16
+ it "should get the #{attribute} value from '#{from}'" do
17
+ @ohai.should_receive(:from).with(from).and_return(value)
18
+ @ohai._require_plugin(plugin)
19
+ end
20
+
21
+ it "should set the #{attribute} to the value from '#{from}'" do
22
+ @ohai._require_plugin(plugin)
23
+ @ohai[attribute].should == value
24
+ end
25
+ end
26
+
27
+ def it_should_check_from_mash(plugin, attribute, from, value)
28
+ it "should get the #{plugin}[:#{attribute}] value from '#{from}'" do
29
+ @ohai.should_receive(:from).with(from).and_return(value)
30
+ @ohai._require_plugin(plugin)
31
+ end
32
+
33
+ it "should set the #{plugin}[:#{attribute}] to the value from '#{from}'" do
34
+ @ohai._require_plugin(plugin)
35
+ @ohai[plugin][attribute].should == value
36
+ end
37
+ end
38
+
39
+ # the mash variable may be an array listing multiple levels of Mash hierarchy
40
+ def it_should_check_from_deep_mash(plugin, mash, attribute, from, value)
41
+ it "should get the #{mash.inspect}[:#{attribute}] value from '#{from}'" do
42
+ @ohai.should_receive(:from).with(from).and_return(value)
43
+ @ohai._require_plugin(plugin)
44
+ end
45
+
46
+ it "should set the #{mash.inspect}[:#{attribute}] to the value from '#{from}'" do
47
+ @ohai._require_plugin(plugin)
48
+ if mash.is_a?(String)
49
+ @ohai[mash][attribute].should == value
50
+ elsif mash.is_a?(Array)
51
+ if mash.length == 2
52
+ @ohai[mash[0]][mash[1]][attribute].should == value
53
+ elsif mash.length == 3
54
+ @ohai[mash[0]][mash[1]][mash[2]][attribute].should == value
55
+ else
56
+ return nil
57
+ end
58
+ else
59
+ return nil
60
+ end
61
+ end
62
+ end
63
+
64
+ module SimpleFromFile
65
+ def from_file(filename)
66
+ self.instance_eval(IO.read(filename), filename, 1)
67
+ end
68
+ end
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ohai
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.4
5
+ platform: ruby
6
+ authors:
7
+ - Adam Jacob
8
+ autorequire: ohai
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-07 00:00:00 +13:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: extlib
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: systemu
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: mixlib-cli
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: mixlib-config
47
+ type: :runtime
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: "0"
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: mixlib-log
57
+ type: :runtime
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
65
+ description: Ohai profiles your system and emits JSON
66
+ email: adam@opscode.com
67
+ executables:
68
+ - ohai
69
+ extensions: []
70
+
71
+ extra_rdoc_files: []
72
+
73
+ files:
74
+ - LICENSE
75
+ - README.rdoc
76
+ - Rakefile
77
+ - lib/ohai/application.rb
78
+ - lib/ohai/config.rb
79
+ - lib/ohai/exception.rb
80
+ - lib/ohai/log.rb
81
+ - lib/ohai/mixin/command.rb
82
+ - lib/ohai/mixin/from_file.rb
83
+ - lib/ohai/mixin/string.rb
84
+ - lib/ohai/plugins/command.rb
85
+ - lib/ohai/plugins/darwin/filesystem.rb
86
+ - lib/ohai/plugins/darwin/hostname.rb
87
+ - lib/ohai/plugins/darwin/kernel.rb
88
+ - lib/ohai/plugins/darwin/network.rb
89
+ - lib/ohai/plugins/darwin/platform.rb
90
+ - lib/ohai/plugins/darwin/ps.rb
91
+ - lib/ohai/plugins/darwin/ssh_host_key.rb
92
+ - lib/ohai/plugins/darwin/system_profiler.rb
93
+ - lib/ohai/plugins/darwin/uptime.rb
94
+ - lib/ohai/plugins/dmi.rb
95
+ - lib/ohai/plugins/ec2.rb
96
+ - lib/ohai/plugins/erlang.rb
97
+ - lib/ohai/plugins/freebsd/cpu.rb
98
+ - lib/ohai/plugins/freebsd/filesystem.rb
99
+ - lib/ohai/plugins/freebsd/hostname.rb
100
+ - lib/ohai/plugins/freebsd/kernel.rb
101
+ - lib/ohai/plugins/freebsd/memory.rb
102
+ - lib/ohai/plugins/freebsd/network.rb
103
+ - lib/ohai/plugins/freebsd/platform.rb
104
+ - lib/ohai/plugins/freebsd/ps.rb
105
+ - lib/ohai/plugins/freebsd/ssh_host_key.rb
106
+ - lib/ohai/plugins/freebsd/uptime.rb
107
+ - lib/ohai/plugins/freebsd/virtualization.rb
108
+ - lib/ohai/plugins/hostname.rb
109
+ - lib/ohai/plugins/java.rb
110
+ - lib/ohai/plugins/kernel.rb
111
+ - lib/ohai/plugins/keys.rb
112
+ - lib/ohai/plugins/languages.rb
113
+ - lib/ohai/plugins/linux/block_device.rb
114
+ - lib/ohai/plugins/linux/cpu.rb
115
+ - lib/ohai/plugins/linux/filesystem.rb
116
+ - lib/ohai/plugins/linux/hostname.rb
117
+ - lib/ohai/plugins/linux/kernel.rb
118
+ - lib/ohai/plugins/linux/lsb.rb
119
+ - lib/ohai/plugins/linux/memory.rb
120
+ - lib/ohai/plugins/linux/network.rb
121
+ - lib/ohai/plugins/linux/platform.rb
122
+ - lib/ohai/plugins/linux/ps.rb
123
+ - lib/ohai/plugins/linux/ssh_host_key.rb
124
+ - lib/ohai/plugins/linux/uptime.rb
125
+ - lib/ohai/plugins/linux/virtualization.rb
126
+ - lib/ohai/plugins/netbsd/cpu.rb
127
+ - lib/ohai/plugins/netbsd/filesystem.rb
128
+ - lib/ohai/plugins/netbsd/hostname.rb
129
+ - lib/ohai/plugins/netbsd/kernel.rb
130
+ - lib/ohai/plugins/netbsd/memory.rb
131
+ - lib/ohai/plugins/netbsd/network.rb
132
+ - lib/ohai/plugins/netbsd/platform.rb
133
+ - lib/ohai/plugins/netbsd/ps.rb
134
+ - lib/ohai/plugins/netbsd/ssh_host_key.rb
135
+ - lib/ohai/plugins/netbsd/uptime.rb
136
+ - lib/ohai/plugins/netbsd/virtualization.rb
137
+ - lib/ohai/plugins/network.rb
138
+ - lib/ohai/plugins/ohai_time.rb
139
+ - lib/ohai/plugins/openbsd/cpu.rb
140
+ - lib/ohai/plugins/openbsd/filesystem.rb
141
+ - lib/ohai/plugins/openbsd/hostname.rb
142
+ - lib/ohai/plugins/openbsd/kernel.rb
143
+ - lib/ohai/plugins/openbsd/memory.rb
144
+ - lib/ohai/plugins/openbsd/network.rb
145
+ - lib/ohai/plugins/openbsd/platform.rb
146
+ - lib/ohai/plugins/openbsd/ps.rb
147
+ - lib/ohai/plugins/openbsd/ssh_host_key.rb
148
+ - lib/ohai/plugins/openbsd/uptime.rb
149
+ - lib/ohai/plugins/openbsd/virtualization.rb
150
+ - lib/ohai/plugins/os.rb
151
+ - lib/ohai/plugins/perl.rb
152
+ - lib/ohai/plugins/platform.rb
153
+ - lib/ohai/plugins/python.rb
154
+ - lib/ohai/plugins/ruby.rb
155
+ - lib/ohai/plugins/solaris2/cpu.rb
156
+ - lib/ohai/plugins/solaris2/hostname.rb
157
+ - lib/ohai/plugins/solaris2/kernel.rb
158
+ - lib/ohai/plugins/solaris2/network.rb
159
+ - lib/ohai/plugins/solaris2/platform.rb
160
+ - lib/ohai/plugins/solaris2/ps.rb
161
+ - lib/ohai/plugins/solaris2/ssh_host_key.rb
162
+ - lib/ohai/plugins/uptime.rb
163
+ - lib/ohai/plugins/virtualization.rb
164
+ - lib/ohai/plugins/windows/filesystem.rb
165
+ - lib/ohai/plugins/windows/hostname.rb
166
+ - lib/ohai/plugins/windows/kernel.rb
167
+ - lib/ohai/plugins/windows/network.rb
168
+ - lib/ohai/plugins/windows/platform.rb
169
+ - lib/ohai/system.rb
170
+ - lib/ohai.rb
171
+ - spec/ohai/mixin/command_spec.rb
172
+ - spec/ohai/mixin/from_file_spec.rb
173
+ - spec/ohai/plugins/darwin/hostname_spec.rb
174
+ - spec/ohai/plugins/darwin/kernel_spec.rb
175
+ - spec/ohai/plugins/darwin/platform_spec.rb
176
+ - spec/ohai/plugins/dmi_spec.rb
177
+ - spec/ohai/plugins/ec2_spec.rb
178
+ - spec/ohai/plugins/erlang_spec.rb
179
+ - spec/ohai/plugins/freebsd/hostname_spec.rb
180
+ - spec/ohai/plugins/freebsd/kernel_spec.rb
181
+ - spec/ohai/plugins/freebsd/platform_spec.rb
182
+ - spec/ohai/plugins/hostname_spec.rb
183
+ - spec/ohai/plugins/java_spec.rb
184
+ - spec/ohai/plugins/kernel_spec.rb
185
+ - spec/ohai/plugins/linux/cpu_spec.rb
186
+ - spec/ohai/plugins/linux/hostname_spec.rb
187
+ - spec/ohai/plugins/linux/kernel_spec.rb
188
+ - spec/ohai/plugins/linux/lsb_spec.rb
189
+ - spec/ohai/plugins/linux/platform_spec.rb
190
+ - spec/ohai/plugins/linux/uptime_spec.rb
191
+ - spec/ohai/plugins/linux/virtualization_spec.rb
192
+ - spec/ohai/plugins/netbsd/hostname_spec.rb
193
+ - spec/ohai/plugins/netbsd/kernel_spec.rb
194
+ - spec/ohai/plugins/netbsd/platform_spec.rb
195
+ - spec/ohai/plugins/ohai_time_spec.rb
196
+ - spec/ohai/plugins/openbsd/hostname_spec.rb
197
+ - spec/ohai/plugins/openbsd/kernel_spec.rb
198
+ - spec/ohai/plugins/openbsd/platform_spec.rb
199
+ - spec/ohai/plugins/os_spec.rb
200
+ - spec/ohai/plugins/perl_spec.rb
201
+ - spec/ohai/plugins/platform_spec.rb
202
+ - spec/ohai/plugins/python_spec.rb
203
+ - spec/ohai/plugins/ruby_spec.rb
204
+ - spec/ohai/plugins/solaris2/hostname_spec.rb
205
+ - spec/ohai/plugins/solaris2/kernel_spec.rb
206
+ - spec/ohai/system_spec.rb
207
+ - spec/ohai_spec.rb
208
+ - spec/rcov.opts
209
+ - spec/spec.opts
210
+ - spec/spec_helper.rb
211
+ has_rdoc: true
212
+ homepage: http://wiki.opscode.com/display/ohai
213
+ licenses: []
214
+
215
+ post_install_message:
216
+ rdoc_options: []
217
+
218
+ require_paths:
219
+ - lib
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: "0"
225
+ version:
226
+ required_rubygems_version: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: "0"
231
+ version:
232
+ requirements: []
233
+
234
+ rubyforge_project:
235
+ rubygems_version: 1.3.5
236
+ signing_key:
237
+ specification_version: 3
238
+ summary: Ohai profiles your system and emits JSON
239
+ test_files: []
240
+