ohai 8.8.1 → 8.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/Rakefile +6 -0
- data/bin/ohai +2 -2
- data/lib/ohai.rb +4 -4
- data/lib/ohai/config.rb +2 -2
- data/lib/ohai/dsl.rb +2 -2
- data/lib/ohai/dsl/plugin.rb +3 -3
- data/lib/ohai/dsl/plugin/versionvi.rb +3 -3
- data/lib/ohai/dsl/plugin/versionvii.rb +2 -2
- data/lib/ohai/exception.rb +2 -2
- data/lib/ohai/hints.rb +2 -2
- data/lib/ohai/loader.rb +1 -1
- data/lib/ohai/log.rb +2 -2
- data/lib/ohai/mixin/command.rb +2 -2
- data/lib/ohai/mixin/constant_helper.rb +2 -2
- data/lib/ohai/mixin/dmi_decode.rb +1 -1
- data/lib/ohai/mixin/ec2_metadata.rb +3 -3
- data/lib/ohai/mixin/network_constants.rb +4 -4
- data/lib/ohai/mixin/os.rb +2 -2
- data/lib/ohai/mixin/seconds_to_human.rb +4 -4
- data/lib/ohai/mixin/string.rb +4 -4
- data/lib/ohai/plugin_config.rb +1 -1
- data/lib/ohai/plugins/aix/cpu.rb +35 -29
- data/lib/ohai/plugins/aix/filesystem.rb +58 -40
- data/lib/ohai/plugins/aix/kernel.rb +3 -2
- data/lib/ohai/plugins/aix/memory.rb +4 -3
- data/lib/ohai/plugins/aix/network.rb +6 -4
- data/lib/ohai/plugins/aix/os.rb +30 -0
- data/lib/ohai/plugins/aix/platform.rb +3 -2
- data/lib/ohai/plugins/aix/uptime.rb +3 -2
- data/lib/ohai/plugins/aix/virtualization.rb +115 -5
- data/lib/ohai/plugins/azure.rb +1 -1
- data/lib/ohai/plugins/bsd/filesystem.rb +1 -1
- data/lib/ohai/plugins/command.rb +4 -4
- data/lib/ohai/plugins/darwin/cpu.rb +5 -3
- data/lib/ohai/plugins/darwin/filesystem.rb +4 -4
- data/lib/ohai/plugins/darwin/filesystem2.rb +4 -4
- data/lib/ohai/plugins/darwin/memory.rb +6 -5
- data/lib/ohai/plugins/darwin/network.rb +2 -2
- data/lib/ohai/plugins/darwin/platform.rb +2 -2
- data/lib/ohai/plugins/darwin/system_profiler.rb +2 -2
- data/lib/ohai/plugins/dragonflybsd/os.rb +2 -2
- data/lib/ohai/plugins/ec2.rb +3 -3
- data/lib/ohai/plugins/erlang.rb +3 -3
- data/lib/ohai/plugins/eucalyptus.rb +3 -3
- data/lib/ohai/plugins/freebsd/cpu.rb +8 -4
- data/lib/ohai/plugins/freebsd/os.rb +2 -2
- data/lib/ohai/plugins/hostname.rb +12 -4
- data/lib/ohai/plugins/init_package.rb +2 -8
- data/lib/ohai/plugins/java.rb +2 -2
- data/lib/ohai/plugins/kernel.rb +5 -4
- data/lib/ohai/plugins/keys.rb +3 -3
- data/lib/ohai/plugins/languages.rb +4 -4
- data/lib/ohai/plugins/linux/block_device.rb +3 -3
- data/lib/ohai/plugins/linux/cpu.rb +2 -2
- data/lib/ohai/plugins/linux/filesystem.rb +2 -2
- data/lib/ohai/plugins/linux/filesystem2.rb +3 -3
- data/lib/ohai/plugins/linux/lsb.rb +2 -2
- data/lib/ohai/plugins/linux/memory.rb +2 -2
- data/lib/ohai/plugins/linux/network.rb +141 -59
- data/lib/ohai/plugins/linux/platform.rb +6 -1
- data/lib/ohai/plugins/linux/virtualization.rb +1 -1
- data/lib/ohai/plugins/network.rb +49 -42
- data/lib/ohai/plugins/ohai_time.rb +4 -4
- data/lib/ohai/plugins/openstack.rb +2 -2
- data/lib/ohai/plugins/os.rb +2 -2
- data/lib/ohai/plugins/packages.rb +122 -0
- data/lib/ohai/plugins/perl.rb +5 -5
- data/lib/ohai/plugins/platform.rb +2 -2
- data/lib/ohai/plugins/powershell.rb +2 -2
- data/lib/ohai/plugins/ps.rb +2 -2
- data/lib/ohai/plugins/python.rb +1 -1
- data/lib/ohai/plugins/rackspace.rb +13 -0
- data/lib/ohai/plugins/ruby.rb +6 -6
- data/lib/ohai/plugins/sigar/network_route.rb +1 -1
- data/lib/ohai/plugins/solaris2/filesystem.rb +1 -1
- data/lib/ohai/plugins/solaris2/network.rb +1 -1
- data/lib/ohai/plugins/solaris2/platform.rb +1 -1
- data/lib/ohai/plugins/solaris2/virtualization.rb +5 -5
- data/lib/ohai/plugins/solaris2/zpools.rb +2 -2
- data/lib/ohai/plugins/ssh_host_key.rb +2 -2
- data/lib/ohai/plugins/uptime.rb +4 -4
- data/lib/ohai/plugins/virtualbox.rb +1 -1
- data/lib/ohai/plugins/virtualization.rb +7 -7
- data/lib/ohai/plugins/vmware.rb +1 -1
- data/lib/ohai/plugins/windows/filesystem.rb +1 -1
- data/lib/ohai/plugins/windows/network.rb +1 -1
- data/lib/ohai/plugins/windows/platform.rb +1 -1
- data/lib/ohai/plugins/windows/virtualization.rb +1 -1
- data/lib/ohai/provides_map.rb +3 -3
- data/lib/ohai/runner.rb +2 -2
- data/lib/ohai/system.rb +2 -2
- data/lib/ohai/util/file_helper.rb +1 -1
- data/lib/ohai/util/win32.rb +1 -1
- data/lib/ohai/util/win32/group_helper.rb +1 -1
- data/lib/ohai/version.rb +3 -3
- data/spec/data/plugins/dpkg-query.output +1087 -0
- data/spec/data/plugins/lslpp.output +49 -0
- data/spec/data/plugins/pkginfo.output +50 -0
- data/spec/data/plugins/pkglist.output +24 -0
- data/spec/data/plugins/rpmquery.output +388 -0
- data/spec/functional/application_spec.rb +1 -1
- data/spec/functional/loader_spec.rb +1 -1
- data/spec/functional/plugins/powershell_spec.rb +1 -1
- data/spec/functional/plugins/root_group_spec.rb +2 -2
- data/spec/ohai_spec.rb +6 -6
- data/spec/unit/application_spec.rb +1 -1
- data/spec/unit/config_spec.rb +1 -1
- data/spec/unit/dsl/plugin_spec.rb +2 -2
- data/spec/unit/hints_spec.rb +2 -2
- data/spec/unit/loader_spec.rb +2 -2
- data/spec/unit/mixin/ec2_metadata_spec.rb +1 -1
- data/spec/unit/plugin_config_spec.rb +1 -1
- data/spec/unit/plugins/aix/cpu_spec.rb +68 -40
- data/spec/unit/plugins/aix/filesystem_spec.rb +152 -50
- data/spec/unit/plugins/aix/hostname_spec.rb +5 -3
- data/spec/unit/plugins/aix/kernel_spec.rb +2 -1
- data/spec/unit/plugins/aix/memory_spec.rb +7 -5
- data/spec/unit/plugins/aix/network_spec.rb +17 -1
- data/spec/unit/plugins/aix/os_spec.rb +35 -0
- data/spec/unit/plugins/aix/platform_spec.rb +5 -4
- data/spec/unit/plugins/aix/uptime_spec.rb +2 -1
- data/spec/unit/plugins/aix/virtualization_spec.rb +269 -3
- data/spec/unit/plugins/azure_spec.rb +1 -1
- data/spec/unit/plugins/bsd/filesystem_spec.rb +1 -1
- data/spec/unit/plugins/bsd/virtualization_spec.rb +2 -2
- data/spec/unit/plugins/chef_spec.rb +8 -8
- data/spec/unit/plugins/darwin/cpu_spec.rb +8 -3
- data/spec/unit/plugins/darwin/hostname_spec.rb +2 -2
- data/spec/unit/plugins/darwin/kernel_spec.rb +4 -4
- data/spec/unit/plugins/darwin/memory_spec.rb +1 -1
- data/spec/unit/plugins/darwin/network_spec.rb +1 -1
- data/spec/unit/plugins/darwin/platform_spec.rb +6 -6
- data/spec/unit/plugins/darwin/system_profiler_output.rb +0 -1
- data/spec/unit/plugins/darwin/system_profiler_spec.rb +4 -4
- data/spec/unit/plugins/ec2_spec.rb +3 -3
- data/spec/unit/plugins/erlang_spec.rb +3 -3
- data/spec/unit/plugins/eucalyptus_spec.rb +2 -2
- data/spec/unit/plugins/fail_spec.rb +6 -6
- data/spec/unit/plugins/freebsd/cpu_spec.rb +19 -4
- data/spec/unit/plugins/freebsd/hostname_spec.rb +2 -2
- data/spec/unit/plugins/freebsd/kernel_spec.rb +4 -4
- data/spec/unit/plugins/freebsd/platform_spec.rb +7 -7
- data/spec/unit/plugins/hostname_spec.rb +2 -2
- data/spec/unit/plugins/init_package_spec.rb +12 -2
- data/spec/unit/plugins/java_spec.rb +5 -5
- data/spec/unit/plugins/kernel_spec.rb +4 -2
- data/spec/unit/plugins/linux/block_device_spec.rb +75 -0
- data/spec/unit/plugins/linux/cpu_spec.rb +2 -2
- data/spec/unit/plugins/linux/filesystem2_spec.rb +14 -14
- data/spec/unit/plugins/linux/filesystem_spec.rb +1 -1
- data/spec/unit/plugins/linux/hostname_spec.rb +2 -2
- data/spec/unit/plugins/linux/kernel_spec.rb +5 -5
- data/spec/unit/plugins/linux/lsb_spec.rb +17 -17
- data/spec/unit/plugins/linux/network_spec.rb +80 -11
- data/spec/unit/plugins/linux/platform_spec.rb +20 -1
- data/spec/unit/plugins/linux/uptime_spec.rb +8 -8
- data/spec/unit/plugins/linux/virtualization_spec.rb +1 -1
- data/spec/unit/plugins/lua_spec.rb +2 -2
- data/spec/unit/plugins/netbsd/hostname_spec.rb +2 -2
- data/spec/unit/plugins/netbsd/kernel_spec.rb +2 -2
- data/spec/unit/plugins/netbsd/platform_spec.rb +2 -2
- data/spec/unit/plugins/network_spec.rb +110 -37
- data/spec/unit/plugins/nodejs_spec.rb +2 -2
- data/spec/unit/plugins/ohai_spec.rb +5 -5
- data/spec/unit/plugins/ohai_time_spec.rb +8 -8
- data/spec/unit/plugins/openbsd/hostname_spec.rb +2 -2
- data/spec/unit/plugins/openbsd/kernel_spec.rb +4 -4
- data/spec/unit/plugins/openbsd/platform_spec.rb +6 -6
- data/spec/unit/plugins/openstack_spec.rb +2 -2
- data/spec/unit/plugins/os_spec.rb +11 -11
- data/spec/unit/plugins/packages_spec.rb +241 -0
- data/spec/unit/plugins/perl_spec.rb +3 -3
- data/spec/unit/plugins/php_spec.rb +2 -2
- data/spec/unit/plugins/platform_spec.rb +2 -2
- data/spec/unit/plugins/python_spec.rb +3 -3
- data/spec/unit/plugins/rackspace_spec.rb +7 -0
- data/spec/unit/plugins/ruby_spec.rb +3 -3
- data/spec/unit/plugins/sigar/network_route_spec.rb +1 -1
- data/spec/unit/plugins/solaris2/cpu_spec.rb +1 -1
- data/spec/unit/plugins/solaris2/filesystem.rb +1 -1
- data/spec/unit/plugins/solaris2/network_spec.rb +3 -3
- data/spec/unit/plugins/solaris2/platform_spec.rb +5 -5
- data/spec/unit/plugins/solaris2/virtualization_spec.rb +1 -1
- data/spec/unit/plugins/ssh_host_keys_spec.rb +2 -2
- data/spec/unit/plugins/virtualbox_spec.rb +1 -1
- data/spec/unit/plugins/windows/virtualization_spec.rb +1 -1
- data/spec/unit/provides_map_spec.rb +2 -2
- data/spec/unit/runner_spec.rb +2 -2
- data/spec/unit/system_spec.rb +3 -3
- data/spec/unit/util/file_helper_spec.rb +1 -1
- metadata +13 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Joshua Timberman(<joshua@
|
3
|
-
# Author:: Theodore Nordsieck (<theo@
|
4
|
-
# Copyright:: Copyright (c) 2009-
|
2
|
+
# Author:: Joshua Timberman(<joshua@chef.io>)
|
3
|
+
# Author:: Theodore Nordsieck (<theo@chef.io>)
|
4
|
+
# Copyright:: Copyright (c) 2009-2016 Chef Software, Inc.
|
5
5
|
# License:: Apache License, Version 2.0
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,8 +1,8 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Doug MacEachern <dougm@vmware.com>
|
3
|
-
# Author:: Theodore Nordsieck (<theo@
|
3
|
+
# Author:: Theodore Nordsieck (<theo@chef.io>)
|
4
4
|
# Copyright:: Copyright (c) 2009 VMware, Inc.
|
5
|
-
# Copyright:: Copyright (c) 2013
|
5
|
+
# Copyright:: Copyright (c) 2013-2016 Chef Software, Inc.
|
6
6
|
# License:: Apache License, Version 2.0
|
7
7
|
#
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Adam Jacob (<adam@
|
3
|
-
# Copyright:: Copyright (c) 2008
|
2
|
+
# Author:: Adam Jacob (<adam@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Adam Jacob (<adam@
|
3
|
-
# Author:: Theodore Nordsieck (<theo@
|
4
|
-
# Copyright:: Copyright (c) 2008-
|
2
|
+
# Author:: Adam Jacob (<adam@chef.io>)
|
3
|
+
# Author:: Theodore Nordsieck (<theo@chef.io>)
|
4
|
+
# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
|
5
5
|
# License:: Apache License, Version 2.0
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -135,6 +135,13 @@ OUT
|
|
135
135
|
@plugin.run
|
136
136
|
expect(@plugin[:rackspace][:region]).to eq("dfw")
|
137
137
|
end
|
138
|
+
|
139
|
+
it "should capture instance ID information" do
|
140
|
+
provider_data = "instance-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
141
|
+
allow(@plugin).to receive(:shell_out).with("xenstore-read name").and_return(mock_shell_out(0, provider_data, ""))
|
142
|
+
@plugin.run
|
143
|
+
expect(@plugin[:rackspace][:instance_id]).to eq("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
|
144
|
+
end
|
138
145
|
end
|
139
146
|
|
140
147
|
describe "with rackspace cloud file" do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Adam Jacob (<adam@
|
3
|
-
# Copyright:: Copyright (c) 2008
|
2
|
+
# Author:: Adam Jacob (<adam@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -49,7 +49,7 @@ describe Ohai::System, "plugin ruby" do
|
|
49
49
|
:host_vendor => ::RbConfig::CONFIG['host_vendor'],
|
50
50
|
:gems_dir => %x{#{ruby_bin} #{::RbConfig::CONFIG['bindir']}/gem env gemdir}.chomp,
|
51
51
|
:gem_bin => [ ::Gem.default_exec_format % 'gem', 'gem' ].map{|bin| "#{::RbConfig::CONFIG['bindir']}/#{bin}"
|
52
|
-
|
52
|
+
}.find{|bin| ::File.exists? bin},
|
53
53
|
:ruby_bin => ruby_bin
|
54
54
|
}.each do |attribute, value|
|
55
55
|
it "should have #{attribute} set to #{value.inspect}" do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Toomas Pelberg (<toomas.pelberg@playtech.com>)
|
3
|
-
# Copyright:: Copyright (c) 2011
|
3
|
+
# Copyright:: Copyright (c) 2011-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -2888,7 +2888,7 @@ END
|
|
2888
2888
|
expect(@plugin["cpu"]["104"]["core_id"]).to eql("1117")
|
2889
2889
|
expect(@plugin["cpu"]["112"]["core_id"]).to eql("1124")
|
2890
2890
|
expect(@plugin["cpu"]["120"]["core_id"]).to eql("1131")
|
2891
|
-
|
2891
|
+
end
|
2892
2892
|
|
2893
2893
|
it "should include processor architecture" do
|
2894
2894
|
expect(@plugin["cpu"]["0"]["arch"]).to eql("sparcv9")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Daniel DeLeo <dan@
|
3
|
-
# Copyright:: Copyright (c) 2010
|
2
|
+
# Author:: Daniel DeLeo <dan@chef.io>
|
3
|
+
# Copyright:: Copyright (c) 2010-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -143,7 +143,7 @@ ROUTE_GET
|
|
143
143
|
it "detects the encapsulation type of the interfaces" do
|
144
144
|
expect(@plugin['network']['interfaces']['e1000g0:3']['encapsulation']).to eq('Ethernet')
|
145
145
|
end
|
146
|
-
|
146
|
+
|
147
147
|
it "detects the L3PROTECT network flag" do
|
148
148
|
expect(@plugin['network']['interfaces']['net0']['flags']).to include('L3PROTECT')
|
149
149
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Trevor O (<trevoro@joyent.com>)
|
3
|
-
# Copyright:: Copyright (c) 2009
|
3
|
+
# Copyright:: Copyright (c) 2009-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -24,7 +24,7 @@ describe Ohai::System, "Solaris plugin platform" do
|
|
24
24
|
allow(@plugin).to receive(:collect_os).and_return(:solaris2)
|
25
25
|
allow(@plugin).to receive(:shell_out).with("/sbin/uname -X")
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
28
|
describe "on SmartOS" do
|
29
29
|
before(:each) do
|
30
30
|
@uname_x = <<-UNAME_X
|
@@ -43,12 +43,12 @@ UNAME_X
|
|
43
43
|
|
44
44
|
allow(File).to receive(:exists?).with("/sbin/uname").and_return(true)
|
45
45
|
allow(@plugin).to receive(:shell_out).with("/sbin/uname -X").and_return(mock_shell_out(0, @uname_x, ""))
|
46
|
-
|
46
|
+
|
47
47
|
@release = StringIO.new(" SmartOS 20120130T201844Z x86_64\n")
|
48
48
|
allow(File).to receive(:open).with("/etc/release").and_yield(@release)
|
49
49
|
end
|
50
50
|
|
51
|
-
it "should run uname and set platform and build" do
|
51
|
+
it "should run uname and set platform and build" do
|
52
52
|
@plugin.run
|
53
53
|
expect(@plugin[:platform_build]).to eq("joyent_20120130T201844Z")
|
54
54
|
end
|
@@ -57,7 +57,7 @@ UNAME_X
|
|
57
57
|
@plugin.run
|
58
58
|
expect(@plugin[:platform]).to eq("smartos")
|
59
59
|
end
|
60
|
-
|
60
|
+
|
61
61
|
it "should set the platform_version" do
|
62
62
|
@plugin.run
|
63
63
|
expect(@plugin[:platform_version]).to eq("5.11")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Sean Walbran (<seanwalbran@gmail.com>)
|
3
|
-
# Copyright:: Copyright (c) 2009
|
3
|
+
# Copyright:: Copyright (c) 2009-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Bryan McLellan <btm@
|
3
|
-
# Copyright:: Copyright (c) 2012
|
2
|
+
# Author:: Bryan McLellan <btm@chef.io>
|
3
|
+
# Copyright:: Copyright (c) 2012-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Author:: Pavel Yudin (<pyudin@parallels.com>)
|
3
3
|
# Author:: Tim Smith (<tsmith@chef.io>)
|
4
4
|
# Copyright:: Copyright (c) 2015 Pavel Yudin
|
5
|
-
# Copyright:: Copyright (c) 2015 Chef Software, Inc.
|
5
|
+
# Copyright:: Copyright (c) 2015-2016 Chef Software, Inc.
|
6
6
|
# License:: Apache License, Version 2.0
|
7
7
|
#
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Daniel DeLeo (<dan@
|
3
|
-
# Copyright:: Copyright (c) 2013
|
2
|
+
# Author:: Daniel DeLeo (<dan@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2013-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
data/spec/unit/runner_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Claire McQuin (<claire@
|
3
|
-
# Copyright:: Copyright (c) 2013
|
2
|
+
# Author:: Claire McQuin (<claire@chef.io>)
|
3
|
+
# Copyright:: Copyright (c) 2013-2016 Chef Software, Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
data/spec/unit/system_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
|
-
# Author:: Adam Jacob (<adam@
|
3
|
-
# Author:: Claire McQuin (<claire@
|
4
|
-
# Copyright:: Copyright (c) 2008
|
2
|
+
# Author:: Adam Jacob (<adam@chef.io>)
|
3
|
+
# Author:: Claire McQuin (<claire@chef.io>)
|
4
|
+
# Copyright:: Copyright (c) 2008-2016 Chef Software, Inc.
|
5
5
|
# License:: Apache License, Version 2.0
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: systemu
|
@@ -282,6 +282,7 @@ files:
|
|
282
282
|
- lib/ohai/plugins/aix/kernel.rb
|
283
283
|
- lib/ohai/plugins/aix/memory.rb
|
284
284
|
- lib/ohai/plugins/aix/network.rb
|
285
|
+
- lib/ohai/plugins/aix/os.rb
|
285
286
|
- lib/ohai/plugins/aix/platform.rb
|
286
287
|
- lib/ohai/plugins/aix/uptime.rb
|
287
288
|
- lib/ohai/plugins/aix/virtualization.rb
|
@@ -356,6 +357,7 @@ files:
|
|
356
357
|
- lib/ohai/plugins/openbsd/platform.rb
|
357
358
|
- lib/ohai/plugins/openstack.rb
|
358
359
|
- lib/ohai/plugins/os.rb
|
360
|
+
- lib/ohai/plugins/packages.rb
|
359
361
|
- lib/ohai/plugins/passwd.rb
|
360
362
|
- lib/ohai/plugins/perl.rb
|
361
363
|
- lib/ohai/plugins/php.rb
|
@@ -408,17 +410,22 @@ files:
|
|
408
410
|
- spec/data/plugins/cc.output
|
409
411
|
- spec/data/plugins/cl.output
|
410
412
|
- spec/data/plugins/devenv.com.output
|
413
|
+
- spec/data/plugins/dpkg-query.output
|
411
414
|
- spec/data/plugins/env.output
|
412
415
|
- spec/data/plugins/erl.output
|
413
416
|
- spec/data/plugins/gcc.output
|
414
417
|
- spec/data/plugins/groovy.output
|
415
418
|
- spec/data/plugins/java.output
|
419
|
+
- spec/data/plugins/lslpp.output
|
416
420
|
- spec/data/plugins/lua.output
|
417
421
|
- spec/data/plugins/messages.rb
|
418
422
|
- spec/data/plugins/node.output
|
419
423
|
- spec/data/plugins/perl.output
|
420
424
|
- spec/data/plugins/php.output
|
425
|
+
- spec/data/plugins/pkginfo.output
|
426
|
+
- spec/data/plugins/pkglist.output
|
421
427
|
- spec/data/plugins/python.output
|
428
|
+
- spec/data/plugins/rpmquery.output
|
422
429
|
- spec/data/plugins/uname.output
|
423
430
|
- spec/data/plugins/v6message.rb
|
424
431
|
- spec/data/plugins/v7message.rb
|
@@ -450,6 +457,7 @@ files:
|
|
450
457
|
- spec/unit/plugins/aix/kernel_spec.rb
|
451
458
|
- spec/unit/plugins/aix/memory_spec.rb
|
452
459
|
- spec/unit/plugins/aix/network_spec.rb
|
460
|
+
- spec/unit/plugins/aix/os_spec.rb
|
453
461
|
- spec/unit/plugins/aix/platform_spec.rb
|
454
462
|
- spec/unit/plugins/aix/uptime_spec.rb
|
455
463
|
- spec/unit/plugins/aix/virtualization_spec.rb
|
@@ -493,6 +501,7 @@ files:
|
|
493
501
|
- spec/unit/plugins/joyent_spec.rb
|
494
502
|
- spec/unit/plugins/kernel_spec.rb
|
495
503
|
- spec/unit/plugins/linode_spec.rb
|
504
|
+
- spec/unit/plugins/linux/block_device_spec.rb
|
496
505
|
- spec/unit/plugins/linux/cpu_spec.rb
|
497
506
|
- spec/unit/plugins/linux/filesystem2_spec.rb
|
498
507
|
- spec/unit/plugins/linux/filesystem_spec.rb
|
@@ -519,6 +528,7 @@ files:
|
|
519
528
|
- spec/unit/plugins/openbsd/platform_spec.rb
|
520
529
|
- spec/unit/plugins/openstack_spec.rb
|
521
530
|
- spec/unit/plugins/os_spec.rb
|
531
|
+
- spec/unit/plugins/packages_spec.rb
|
522
532
|
- spec/unit/plugins/passwd_spec.rb
|
523
533
|
- spec/unit/plugins/perl_spec.rb
|
524
534
|
- spec/unit/plugins/php_spec.rb
|
@@ -572,7 +582,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
572
582
|
version: '0'
|
573
583
|
requirements: []
|
574
584
|
rubyforge_project:
|
575
|
-
rubygems_version: 2.
|
585
|
+
rubygems_version: 2.4.8
|
576
586
|
signing_key:
|
577
587
|
specification_version: 4
|
578
588
|
summary: Ohai profiles your system and emits JSON
|