ohai 0.5.0 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/Rakefile +3 -3
  2. data/bin/ohai +14 -4
  3. data/docs/man/man1/ohai.1 +23 -0
  4. data/lib/ohai.rb +1 -1
  5. data/lib/ohai/application.rb +8 -0
  6. data/lib/ohai/plugins/chef.rb +23 -0
  7. data/lib/ohai/plugins/groovy.rb +35 -0
  8. data/lib/ohai/plugins/java.rb +6 -3
  9. data/lib/ohai/plugins/kernel.rb +1 -1
  10. data/lib/ohai/plugins/linux/network.rb +1 -1
  11. data/lib/ohai/plugins/linux/platform.rb +1 -1
  12. data/lib/ohai/plugins/lua.rb +34 -0
  13. data/lib/ohai/plugins/mono.rb +37 -0
  14. data/lib/ohai/plugins/network_listeners.rb +47 -0
  15. data/lib/ohai/plugins/ohai.rb +23 -0
  16. data/lib/ohai/plugins/os.rb +5 -4
  17. data/lib/ohai/plugins/perl.rb +5 -3
  18. data/lib/ohai/plugins/php.rb +36 -0
  19. data/lib/ohai/plugins/rackspace.rb +14 -4
  20. data/lib/ohai/plugins/windows/filesystem.rb +0 -0
  21. data/lib/ohai/system.rb +14 -9
  22. data/spec/ohai/mixin/command_spec.rb +1 -1
  23. data/spec/ohai/mixin/from_file_spec.rb +1 -1
  24. data/spec/ohai/plugins/chef_spec.rb +38 -0
  25. data/spec/ohai/plugins/cloud_spec.rb +3 -1
  26. data/spec/ohai/plugins/darwin/hostname_spec.rb +1 -1
  27. data/spec/ohai/plugins/darwin/kernel_spec.rb +1 -1
  28. data/spec/ohai/plugins/darwin/platform_spec.rb +1 -1
  29. data/spec/ohai/plugins/dmi_spec.rb +1 -1
  30. data/spec/ohai/plugins/ec2_spec.rb +1 -1
  31. data/spec/ohai/plugins/erlang_spec.rb +1 -1
  32. data/spec/ohai/plugins/freebsd/hostname_spec.rb +1 -1
  33. data/spec/ohai/plugins/freebsd/kernel_spec.rb +1 -1
  34. data/spec/ohai/plugins/freebsd/platform_spec.rb +1 -1
  35. data/spec/ohai/plugins/groovy_spec.rb +53 -0
  36. data/spec/ohai/plugins/hostname_spec.rb +1 -1
  37. data/spec/ohai/plugins/java_spec.rb +1 -1
  38. data/spec/ohai/plugins/kernel_spec.rb +1 -1
  39. data/spec/ohai/plugins/linux/cpu_spec.rb +1 -1
  40. data/spec/ohai/plugins/linux/hostname_spec.rb +1 -1
  41. data/spec/ohai/plugins/linux/kernel_spec.rb +1 -1
  42. data/spec/ohai/plugins/linux/lsb_spec.rb +1 -1
  43. data/spec/ohai/plugins/linux/platform_spec.rb +32 -1
  44. data/spec/ohai/plugins/linux/uptime_spec.rb +1 -1
  45. data/spec/ohai/plugins/linux/virtualization_spec.rb +1 -1
  46. data/spec/ohai/plugins/lua_spec.rb +53 -0
  47. data/spec/ohai/plugins/mono_spec.rb +53 -0
  48. data/spec/ohai/plugins/netbsd/hostname_spec.rb +1 -1
  49. data/spec/ohai/plugins/netbsd/kernel_spec.rb +1 -1
  50. data/spec/ohai/plugins/netbsd/platform_spec.rb +1 -1
  51. data/spec/ohai/plugins/ohai_spec.rb +33 -0
  52. data/spec/ohai/plugins/ohai_time_spec.rb +1 -1
  53. data/spec/ohai/plugins/openbsd/hostname_spec.rb +1 -1
  54. data/spec/ohai/plugins/openbsd/kernel_spec.rb +1 -1
  55. data/spec/ohai/plugins/openbsd/platform_spec.rb +1 -1
  56. data/spec/ohai/plugins/os_spec.rb +9 -3
  57. data/spec/ohai/plugins/passwd_spec.rb +1 -1
  58. data/spec/ohai/plugins/perl_spec.rb +3 -3
  59. data/spec/ohai/plugins/php_spec.rb +52 -0
  60. data/spec/ohai/plugins/platform_spec.rb +1 -1
  61. data/spec/ohai/plugins/python_spec.rb +1 -1
  62. data/spec/ohai/plugins/rackspace_spec.rb +1 -1
  63. data/spec/ohai/plugins/ruby_spec.rb +1 -1
  64. data/spec/ohai/plugins/solaris2/hostname_spec.rb +1 -1
  65. data/spec/ohai/plugins/solaris2/kernel_spec.rb +1 -1
  66. data/spec/ohai/plugins/solaris2/network_spec.rb +1 -1
  67. data/spec/ohai/system_spec.rb +1 -1
  68. data/spec/ohai_spec.rb +1 -1
  69. data/spec/spec_helper.rb +0 -5
  70. metadata +32 -7
@@ -0,0 +1,53 @@
1
+ #
2
+ # Author:: Doug MacEachern <dougm@vmware.com>
3
+ # Copyright:: Copyright (c) 2009 VMware, 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
+
20
+ require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
21
+
22
+ describe Ohai::System, "plugin mono" do
23
+
24
+ before(:each) do
25
+ @ohai = Ohai::System.new
26
+ @ohai[:languages] = Mash.new
27
+ @ohai.stub!(:require_plugin).and_return(true)
28
+ @status = 0
29
+ @stdout = "Mono JIT compiler version 1.2.6 (tarball)\nCopyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com\n"
30
+ @stderr = ""
31
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"mono -V"}).and_return([@status, @stdout, @stderr])
32
+ end
33
+
34
+ it "should get the mono version from running mono -V" do
35
+ @ohai.should_receive(:run_command).with({:no_status_check=>true, :command=>"mono -V"}).and_return([0, "Mono JIT compiler version 1.2.6 (tarball)\nCopyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com\n", ""])
36
+ @ohai._require_plugin("mono")
37
+ end
38
+
39
+ it "should set languages[:mono][:version]" do
40
+ @ohai._require_plugin("mono")
41
+ @ohai.languages[:mono][:version].should eql("1.2.6")
42
+ end
43
+
44
+ it "should not set the languages[:mono] tree up if mono command fails" do
45
+ @status = 1
46
+ @stdout = "Mono JIT compiler version 1.2.6 (tarball)\nCopyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com\n"
47
+ @stderr = ""
48
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"mono -V"}).and_return([@status, @stdout, @stderr])
49
+ @ohai._require_plugin("mono")
50
+ @ohai.languages.should_not have_key(:mono)
51
+ end
52
+
53
+ end
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "NetBSD hostname plugin" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "NetBSD kernel plugin" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "NetBSD plugin platform" do
23
23
  before(:each) do
@@ -0,0 +1,33 @@
1
+ #
2
+ # Author:: Adam Jacob (<adam@opscode.com>)
3
+ # Author:: Tollef Fog Heen <tfheen@err.no>
4
+ # Copyright:: Copyright (c) 2008 Opscode, Inc.
5
+ # Copyright:: Copyright (c) 2010 Tollef Fog Heen <tfheen@err.no>
6
+ # License:: Apache License, Version 2.0
7
+ #
8
+ # Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+ #
20
+
21
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
22
+
23
+ describe Ohai::System, "plugin ohai" do
24
+ before(:each) do
25
+ @ohai = Ohai::System.new
26
+ @ohai.stub!(:require_plugin).and_return(true)
27
+ end
28
+
29
+ it "should set ohai[:version] to the current version" do
30
+ @ohai._require_plugin("ohai")
31
+ @ohai[:ohai][:version].should == Ohai::VERSION
32
+ end
33
+ end
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "plugin ohai_time" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "OpenBSD hostname plugin" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "OpenBSD kernel plugin" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "OpenBSD plugin platform" do
23
23
  before(:each) do
@@ -17,7 +17,9 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
21
+
22
+ ORIGINAL_CONFIG_HOST_OS = ::Config::CONFIG['host_os']
21
23
 
22
24
  describe Ohai::System, "plugin os" do
23
25
  before(:each) do
@@ -28,6 +30,10 @@ describe Ohai::System, "plugin os" do
28
30
  @ohai[:kernel] = Mash.new
29
31
  @ohai[:kernel][:release] = "kings of leon"
30
32
  end
33
+
34
+ after do
35
+ ::Config::CONFIG['host_os'] = ORIGINAL_CONFIG_HOST_OS
36
+ end
31
37
 
32
38
  it "should set os_version to kernel_release" do
33
39
  @ohai._require_plugin("os")
@@ -36,7 +42,7 @@ describe Ohai::System, "plugin os" do
36
42
 
37
43
  describe "on linux" do
38
44
  before(:each) do
39
- @ohai[:languages][:ruby][:host_os] = "linux"
45
+ ::Config::CONFIG['host_os'] = "linux"
40
46
  end
41
47
 
42
48
  it "should set the os to linux" do
@@ -58,7 +64,7 @@ describe Ohai::System, "plugin os" do
58
64
 
59
65
  describe "on solaris" do
60
66
  before do
61
- @ohai[:languages][:ruby][:host_os] = "solaris2.42" #heh
67
+ ::Config::CONFIG['host_os'] = "solaris2.42" #heh
62
68
  end
63
69
 
64
70
  it "sets the os to solaris2" do
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
1
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
2
2
 
3
3
  describe Ohai::System, "plugin etc" do
4
4
  before(:each) do
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
19
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
20
20
 
21
21
  describe Ohai::System, "plugin perl" do
22
22
  before(:each) do
@@ -26,7 +26,7 @@ describe Ohai::System, "plugin perl" do
26
26
  @pid = mock("PID", :null_object => true)
27
27
  @stderr = mock("STDERR", :null_object => true)
28
28
  @stdout = mock("STDOUT", :null_object => true)
29
- @stdout.stub!(:each).and_yield("version='5.8.8';").
29
+ @stdout.stub!(:each_line).and_yield("version='5.8.8';").
30
30
  and_yield("archname='darwin-thread-multi-2level';")
31
31
  @stdin = mock("STDIN", :null_object => true)
32
32
  @status = 0
@@ -49,7 +49,7 @@ describe Ohai::System, "plugin perl" do
49
49
  end
50
50
 
51
51
  it "should iterate over each line of perl command's stdout" do
52
- @stdout.should_receive(:each).and_return(true)
52
+ @stdout.should_receive(:each_line).and_return(true)
53
53
  @ohai._require_plugin("perl")
54
54
  end
55
55
 
@@ -0,0 +1,52 @@
1
+ #
2
+ # Author:: Doug MacEachern <dougm@vmware.com>
3
+ # Copyright:: Copyright (c) 2009 VMware, 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, "plugin php" do
22
+
23
+ before(:each) do
24
+ @ohai = Ohai::System.new
25
+ @ohai[:languages] = Mash.new
26
+ @ohai.stub!(:require_plugin).and_return(true)
27
+ @status = 0
28
+ @stdout = "PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)\nCopyright (c) 1997-2006 The PHP Group\nZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies\n"
29
+ @stderr = ""
30
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"php -v"}).and_return([@status, @stdout, @stderr])
31
+ end
32
+
33
+ it "should get the php version from running php -V" do
34
+ @ohai.should_receive(:run_command).with({:no_status_check=>true, :command=>"php -v"}).and_return([0, "PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)\nCopyright (c) 1997-2006 The PHP Group\nZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies\n", ""])
35
+ @ohai._require_plugin("php")
36
+ end
37
+
38
+ it "should set languages[:php][:version]" do
39
+ @ohai._require_plugin("php")
40
+ @ohai.languages[:php][:version].should eql("5.1.6")
41
+ end
42
+
43
+ it "should not set the languages[:php] tree up if php command fails" do
44
+ @status = 1
45
+ @stdout = "PHP 5.1.6 (cli) (built: Jul 16 2008 19:52:52)\nCopyright (c) 1997-2006 The PHP Group\nZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies\n"
46
+ @stderr = ""
47
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"php -v"}).and_return([@status, @stdout, @stderr])
48
+ @ohai._require_plugin("php")
49
+ @ohai.languages.should_not have_key(:php)
50
+ end
51
+
52
+ end
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "plugin platform" do
23
23
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "plugin python" do
23
23
 
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
18
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
19
19
 
20
20
  describe Ohai::System, "plugin rackspace" do
21
21
  before(:each) do
@@ -17,7 +17,7 @@
17
17
  #
18
18
 
19
19
 
20
- require File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
20
+ require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
21
21
 
22
22
  describe Ohai::System, "plugin ruby" do
23
23
 
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
19
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
20
20
 
21
21
  describe Ohai::System, "Solaris2.X hostname plugin" do
22
22
  before(:each) do
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
19
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
20
20
 
21
21
  describe Ohai::System, "Solaris2.X kernel plugin" do
22
22
  # NOTE: Solaris will report the same module loaded multiple times
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.join(File.dirname(__FILE__), '..', '..', '..', '/spec_helper.rb')
19
+ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
20
20
 
21
21
  describe Ohai::System, "Solaris2.X network plugin" do
22
22
 
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.join(File.dirname(__FILE__), '..', '/spec_helper.rb')
19
+ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper.rb')
20
20
 
21
21
  describe Ohai::System, "initialize" do
22
22
  it "should return an Ohai::System object" do
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require File.dirname(__FILE__) + '/spec_helper.rb'
19
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
20
20
 
21
21
  describe Ohai do
22
22
 
@@ -13,11 +13,6 @@ require 'ohai'
13
13
  Ohai::Config[:log_level] = :error
14
14
 
15
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
16
  it "should set the #{attribute} to the value from '#{from}'" do
22
17
  @ohai._require_plugin(plugin)
23
18
  @ohai[attribute].should == value
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Adam Jacob
@@ -14,25 +14,29 @@ autorequire: ohai
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-04 00:00:00 -08:00
17
+ date: 2010-05-06 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
- - - ">="
26
+ - - <=
26
27
  - !ruby/object:Gem::Version
27
28
  segments:
28
- - 0
29
- version: "0"
29
+ - 1
30
+ - 4
31
+ - 2
32
+ version: 1.4.2
30
33
  type: :runtime
31
34
  version_requirements: *id001
32
35
  - !ruby/object:Gem::Dependency
33
36
  name: extlib
34
37
  prerelease: false
35
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
36
40
  requirements:
37
41
  - - ">="
38
42
  - !ruby/object:Gem::Version
@@ -45,6 +49,7 @@ dependencies:
45
49
  name: systemu
46
50
  prerelease: false
47
51
  requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
48
53
  requirements:
49
54
  - - ">="
50
55
  - !ruby/object:Gem::Version
@@ -57,6 +62,7 @@ dependencies:
57
62
  name: mixlib-cli
58
63
  prerelease: false
59
64
  requirement: &id004 !ruby/object:Gem::Requirement
65
+ none: false
60
66
  requirements:
61
67
  - - ">="
62
68
  - !ruby/object:Gem::Version
@@ -69,6 +75,7 @@ dependencies:
69
75
  name: mixlib-config
70
76
  prerelease: false
71
77
  requirement: &id005 !ruby/object:Gem::Requirement
78
+ none: false
72
79
  requirements:
73
80
  - - ">="
74
81
  - !ruby/object:Gem::Version
@@ -81,6 +88,7 @@ dependencies:
81
88
  name: mixlib-log
82
89
  prerelease: false
83
90
  requirement: &id006 !ruby/object:Gem::Requirement
91
+ none: false
84
92
  requirements:
85
93
  - - ">="
86
94
  - !ruby/object:Gem::Version
@@ -101,6 +109,7 @@ files:
101
109
  - LICENSE
102
110
  - README.rdoc
103
111
  - Rakefile
112
+ - docs/man/man1/ohai.1
104
113
  - lib/ohai/application.rb
105
114
  - lib/ohai/config.rb
106
115
  - lib/ohai/exception.rb
@@ -108,6 +117,7 @@ files:
108
117
  - lib/ohai/mixin/command.rb
109
118
  - lib/ohai/mixin/from_file.rb
110
119
  - lib/ohai/mixin/string.rb
120
+ - lib/ohai/plugins/chef.rb
111
121
  - lib/ohai/plugins/cloud.rb
112
122
  - lib/ohai/plugins/command.rb
113
123
  - lib/ohai/plugins/darwin/filesystem.rb
@@ -133,6 +143,7 @@ files:
133
143
  - lib/ohai/plugins/freebsd/ssh_host_key.rb
134
144
  - lib/ohai/plugins/freebsd/uptime.rb
135
145
  - lib/ohai/plugins/freebsd/virtualization.rb
146
+ - lib/ohai/plugins/groovy.rb
136
147
  - lib/ohai/plugins/hostname.rb
137
148
  - lib/ohai/plugins/java.rb
138
149
  - lib/ohai/plugins/kernel.rb
@@ -151,6 +162,8 @@ files:
151
162
  - lib/ohai/plugins/linux/ssh_host_key.rb
152
163
  - lib/ohai/plugins/linux/uptime.rb
153
164
  - lib/ohai/plugins/linux/virtualization.rb
165
+ - lib/ohai/plugins/lua.rb
166
+ - lib/ohai/plugins/mono.rb
154
167
  - lib/ohai/plugins/netbsd/cpu.rb
155
168
  - lib/ohai/plugins/netbsd/filesystem.rb
156
169
  - lib/ohai/plugins/netbsd/hostname.rb
@@ -163,6 +176,8 @@ files:
163
176
  - lib/ohai/plugins/netbsd/uptime.rb
164
177
  - lib/ohai/plugins/netbsd/virtualization.rb
165
178
  - lib/ohai/plugins/network.rb
179
+ - lib/ohai/plugins/network_listeners.rb
180
+ - lib/ohai/plugins/ohai.rb
166
181
  - lib/ohai/plugins/ohai_time.rb
167
182
  - lib/ohai/plugins/openbsd/cpu.rb
168
183
  - lib/ohai/plugins/openbsd/filesystem.rb
@@ -178,6 +193,7 @@ files:
178
193
  - lib/ohai/plugins/os.rb
179
194
  - lib/ohai/plugins/passwd.rb
180
195
  - lib/ohai/plugins/perl.rb
196
+ - lib/ohai/plugins/php.rb
181
197
  - lib/ohai/plugins/platform.rb
182
198
  - lib/ohai/plugins/python.rb
183
199
  - lib/ohai/plugins/rackspace.rb
@@ -200,6 +216,7 @@ files:
200
216
  - lib/ohai.rb
201
217
  - spec/ohai/mixin/command_spec.rb
202
218
  - spec/ohai/mixin/from_file_spec.rb
219
+ - spec/ohai/plugins/chef_spec.rb
203
220
  - spec/ohai/plugins/cloud_spec.rb
204
221
  - spec/ohai/plugins/darwin/hostname_spec.rb
205
222
  - spec/ohai/plugins/darwin/kernel_spec.rb
@@ -210,6 +227,7 @@ files:
210
227
  - spec/ohai/plugins/freebsd/hostname_spec.rb
211
228
  - spec/ohai/plugins/freebsd/kernel_spec.rb
212
229
  - spec/ohai/plugins/freebsd/platform_spec.rb
230
+ - spec/ohai/plugins/groovy_spec.rb
213
231
  - spec/ohai/plugins/hostname_spec.rb
214
232
  - spec/ohai/plugins/java_spec.rb
215
233
  - spec/ohai/plugins/kernel_spec.rb
@@ -220,9 +238,12 @@ files:
220
238
  - spec/ohai/plugins/linux/platform_spec.rb
221
239
  - spec/ohai/plugins/linux/uptime_spec.rb
222
240
  - spec/ohai/plugins/linux/virtualization_spec.rb
241
+ - spec/ohai/plugins/lua_spec.rb
242
+ - spec/ohai/plugins/mono_spec.rb
223
243
  - spec/ohai/plugins/netbsd/hostname_spec.rb
224
244
  - spec/ohai/plugins/netbsd/kernel_spec.rb
225
245
  - spec/ohai/plugins/netbsd/platform_spec.rb
246
+ - spec/ohai/plugins/ohai_spec.rb
226
247
  - spec/ohai/plugins/ohai_time_spec.rb
227
248
  - spec/ohai/plugins/openbsd/hostname_spec.rb
228
249
  - spec/ohai/plugins/openbsd/kernel_spec.rb
@@ -230,6 +251,7 @@ files:
230
251
  - spec/ohai/plugins/os_spec.rb
231
252
  - spec/ohai/plugins/passwd_spec.rb
232
253
  - spec/ohai/plugins/perl_spec.rb
254
+ - spec/ohai/plugins/php_spec.rb
233
255
  - spec/ohai/plugins/platform_spec.rb
234
256
  - spec/ohai/plugins/python_spec.rb
235
257
  - spec/ohai/plugins/rackspace_spec.rb
@@ -242,6 +264,7 @@ files:
242
264
  - spec/rcov.opts
243
265
  - spec/spec.opts
244
266
  - spec/spec_helper.rb
267
+ - bin/ohai
245
268
  has_rdoc: true
246
269
  homepage: http://wiki.opscode.com/display/ohai
247
270
  licenses: []
@@ -252,6 +275,7 @@ rdoc_options: []
252
275
  require_paths:
253
276
  - lib
254
277
  required_ruby_version: !ruby/object:Gem::Requirement
278
+ none: false
255
279
  requirements:
256
280
  - - ">="
257
281
  - !ruby/object:Gem::Version
@@ -259,6 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
283
  - 0
260
284
  version: "0"
261
285
  required_rubygems_version: !ruby/object:Gem::Requirement
286
+ none: false
262
287
  requirements:
263
288
  - - ">="
264
289
  - !ruby/object:Gem::Version
@@ -268,7 +293,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
293
  requirements: []
269
294
 
270
295
  rubyforge_project:
271
- rubygems_version: 1.3.6
296
+ rubygems_version: 1.3.6.1
272
297
  signing_key:
273
298
  specification_version: 3
274
299
  summary: Ohai profiles your system and emits JSON