ohai 16.6.5 → 16.7.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -7
  3. data/bin/ohai +1 -0
  4. data/lib/ohai.rb +1 -0
  5. data/lib/ohai/application.rb +1 -0
  6. data/lib/ohai/common/dmi.rb +1 -0
  7. data/lib/ohai/config.rb +1 -0
  8. data/lib/ohai/dsl.rb +1 -0
  9. data/lib/ohai/dsl/plugin.rb +1 -0
  10. data/lib/ohai/dsl/plugin/versionvii.rb +1 -0
  11. data/lib/ohai/exception.rb +1 -0
  12. data/lib/ohai/hints.rb +1 -0
  13. data/lib/ohai/log.rb +1 -0
  14. data/lib/ohai/mash.rb +1 -0
  15. data/lib/ohai/mixin/azure_metadata.rb +2 -1
  16. data/lib/ohai/mixin/chef_utils_wiring.rb +1 -0
  17. data/lib/ohai/mixin/command.rb +1 -0
  18. data/lib/ohai/mixin/constant_helper.rb +1 -0
  19. data/lib/ohai/mixin/dmi_decode.rb +1 -0
  20. data/lib/ohai/mixin/do_metadata.rb +3 -2
  21. data/lib/ohai/mixin/ec2_metadata.rb +2 -1
  22. data/lib/ohai/mixin/gce_metadata.rb +3 -2
  23. data/lib/ohai/mixin/http_helper.rb +1 -0
  24. data/lib/ohai/mixin/network_helper.rb +1 -0
  25. data/lib/ohai/mixin/os.rb +1 -0
  26. data/lib/ohai/mixin/scaleway_metadata.rb +3 -2
  27. data/lib/ohai/mixin/seconds_to_human.rb +1 -0
  28. data/lib/ohai/mixin/shell_out.rb +1 -0
  29. data/lib/ohai/mixin/softlayer_metadata.rb +2 -1
  30. data/lib/ohai/mixin/string.rb +1 -0
  31. data/lib/ohai/mixin/train_helpers.rb +1 -0
  32. data/lib/ohai/mixin/which.rb +1 -0
  33. data/lib/ohai/plugin_config.rb +1 -0
  34. data/lib/ohai/plugins/aix/kernel.rb +1 -0
  35. data/lib/ohai/plugins/aix/memory.rb +1 -0
  36. data/lib/ohai/plugins/aix/network.rb +2 -1
  37. data/lib/ohai/plugins/aix/platform.rb +1 -0
  38. data/lib/ohai/plugins/aix/uptime.rb +3 -2
  39. data/lib/ohai/plugins/azure.rb +1 -0
  40. data/lib/ohai/plugins/bsd/virtualization.rb +1 -0
  41. data/lib/ohai/plugins/c.rb +1 -0
  42. data/lib/ohai/plugins/chef.rb +1 -0
  43. data/lib/ohai/plugins/cloud.rb +1 -0
  44. data/lib/ohai/plugins/command.rb +1 -0
  45. data/lib/ohai/plugins/cpu.rb +2 -3
  46. data/lib/ohai/plugins/darwin/hardware.rb +1 -0
  47. data/lib/ohai/plugins/darwin/memory.rb +2 -3
  48. data/lib/ohai/plugins/darwin/network.rb +1 -0
  49. data/lib/ohai/plugins/darwin/platform.rb +1 -0
  50. data/lib/ohai/plugins/darwin/virtualization.rb +1 -0
  51. data/lib/ohai/plugins/digital_ocean.rb +1 -0
  52. data/lib/ohai/plugins/dmi.rb +1 -0
  53. data/lib/ohai/plugins/docker.rb +1 -0
  54. data/lib/ohai/plugins/dragonflybsd/memory.rb +1 -0
  55. data/lib/ohai/plugins/dragonflybsd/network.rb +1 -0
  56. data/lib/ohai/plugins/dragonflybsd/platform.rb +1 -0
  57. data/lib/ohai/plugins/ec2.rb +1 -0
  58. data/lib/ohai/plugins/elixir.rb +1 -1
  59. data/lib/ohai/plugins/erlang.rb +1 -0
  60. data/lib/ohai/plugins/eucalyptus.rb +4 -1
  61. data/lib/ohai/plugins/filesystem.rb +1 -1
  62. data/lib/ohai/plugins/fips.rb +1 -0
  63. data/lib/ohai/plugins/freebsd/memory.rb +1 -0
  64. data/lib/ohai/plugins/freebsd/network.rb +1 -0
  65. data/lib/ohai/plugins/freebsd/platform.rb +1 -0
  66. data/lib/ohai/plugins/gce.rb +1 -0
  67. data/lib/ohai/plugins/go.rb +1 -1
  68. data/lib/ohai/plugins/groovy.rb +1 -1
  69. data/lib/ohai/plugins/haskell.rb +1 -0
  70. data/lib/ohai/plugins/hostname.rb +1 -0
  71. data/lib/ohai/plugins/init_package.rb +1 -0
  72. data/lib/ohai/plugins/java.rb +1 -0
  73. data/lib/ohai/plugins/joyent.rb +1 -0
  74. data/lib/ohai/plugins/kernel.rb +2 -1
  75. data/lib/ohai/plugins/keys.rb +1 -0
  76. data/lib/ohai/plugins/languages.rb +1 -0
  77. data/lib/ohai/plugins/libvirt.rb +1 -0
  78. data/lib/ohai/plugins/linode.rb +1 -0
  79. data/lib/ohai/plugins/linux/block_device.rb +1 -0
  80. data/lib/ohai/plugins/linux/hostnamectl.rb +3 -2
  81. data/lib/ohai/plugins/linux/interrupts.rb +1 -0
  82. data/lib/ohai/plugins/linux/ipc.rb +1 -0
  83. data/lib/ohai/plugins/linux/lsb.rb +6 -19
  84. data/lib/ohai/plugins/linux/lspci.rb +1 -0
  85. data/lib/ohai/plugins/linux/machineid.rb +1 -0
  86. data/lib/ohai/plugins/linux/mdadm.rb +1 -0
  87. data/lib/ohai/plugins/linux/memory.rb +37 -36
  88. data/lib/ohai/plugins/linux/network.rb +1 -0
  89. data/lib/ohai/plugins/linux/platform.rb +2 -1
  90. data/lib/ohai/plugins/linux/selinux.rb +1 -0
  91. data/lib/ohai/plugins/linux/sessions.rb +1 -0
  92. data/lib/ohai/plugins/linux/sysctl.rb +1 -0
  93. data/lib/ohai/plugins/linux/systemd_paths.rb +1 -0
  94. data/lib/ohai/plugins/linux/virtualization.rb +1 -0
  95. data/lib/ohai/plugins/lua.rb +1 -1
  96. data/lib/ohai/plugins/mono.rb +1 -1
  97. data/lib/ohai/plugins/netbsd/memory.rb +1 -0
  98. data/lib/ohai/plugins/netbsd/network.rb +1 -0
  99. data/lib/ohai/plugins/netbsd/platform.rb +1 -0
  100. data/lib/ohai/plugins/network.rb +1 -0
  101. data/lib/ohai/plugins/nodejs.rb +1 -1
  102. data/lib/ohai/plugins/ohai.rb +1 -0
  103. data/lib/ohai/plugins/ohai_time.rb +1 -0
  104. data/lib/ohai/plugins/openbsd/memory.rb +1 -0
  105. data/lib/ohai/plugins/openbsd/network.rb +1 -0
  106. data/lib/ohai/plugins/openbsd/platform.rb +1 -0
  107. data/lib/ohai/plugins/openstack.rb +1 -0
  108. data/lib/ohai/plugins/os.rb +1 -0
  109. data/lib/ohai/plugins/packages.rb +1 -0
  110. data/lib/ohai/plugins/passwd.rb +1 -0
  111. data/lib/ohai/plugins/perl.rb +1 -1
  112. data/lib/ohai/plugins/php.rb +1 -1
  113. data/lib/ohai/plugins/platform.rb +1 -0
  114. data/lib/ohai/plugins/powershell.rb +1 -1
  115. data/lib/ohai/plugins/ps.rb +1 -0
  116. data/lib/ohai/plugins/python.rb +1 -1
  117. data/lib/ohai/plugins/rackspace.rb +2 -1
  118. data/lib/ohai/plugins/root_group.rb +1 -0
  119. data/lib/ohai/plugins/ruby.rb +3 -2
  120. data/lib/ohai/plugins/rust.rb +1 -1
  121. data/lib/ohai/plugins/scala.rb +1 -0
  122. data/lib/ohai/plugins/scaleway.rb +1 -0
  123. data/lib/ohai/plugins/scsi.rb +1 -0
  124. data/lib/ohai/plugins/shard.rb +1 -1
  125. data/lib/ohai/plugins/shells.rb +1 -0
  126. data/lib/ohai/plugins/softlayer.rb +1 -0
  127. data/lib/ohai/plugins/solaris2/dmi.rb +1 -0
  128. data/lib/ohai/plugins/solaris2/memory.rb +1 -0
  129. data/lib/ohai/plugins/solaris2/network.rb +1 -0
  130. data/lib/ohai/plugins/solaris2/platform.rb +6 -12
  131. data/lib/ohai/plugins/solaris2/virtualization.rb +2 -1
  132. data/lib/ohai/plugins/ssh_host_key.rb +1 -0
  133. data/lib/ohai/plugins/sysconf.rb +1 -0
  134. data/lib/ohai/plugins/timezone.rb +1 -0
  135. data/lib/ohai/plugins/train.rb +1 -0
  136. data/lib/ohai/plugins/uptime.rb +1 -0
  137. data/lib/ohai/plugins/virtualbox.rb +1 -0
  138. data/lib/ohai/plugins/vmware.rb +1 -0
  139. data/lib/ohai/plugins/windows/dmi.rb +1 -0
  140. data/lib/ohai/plugins/windows/drivers.rb +1 -0
  141. data/lib/ohai/plugins/windows/memory.rb +1 -0
  142. data/lib/ohai/plugins/windows/network.rb +2 -1
  143. data/lib/ohai/plugins/windows/platform.rb +1 -0
  144. data/lib/ohai/plugins/windows/system_enclosure.rb +1 -0
  145. data/lib/ohai/plugins/windows/virtualization.rb +1 -0
  146. data/lib/ohai/plugins/zpools.rb +5 -2
  147. data/lib/ohai/provides_map.rb +1 -0
  148. data/lib/ohai/runner.rb +3 -4
  149. data/lib/ohai/system.rb +1 -0
  150. data/lib/ohai/train_transport.rb +1 -0
  151. data/lib/ohai/util/file_helper.rb +1 -0
  152. data/lib/ohai/util/ip_helper.rb +1 -0
  153. data/lib/ohai/util/win32.rb +1 -0
  154. data/lib/ohai/version.rb +2 -1
  155. data/ohai.gemspec +1 -0
  156. metadata +2 -2
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  #
2
3
  # Author:: Adam Jacob (<adam@chef.io>)
3
4
  # Copyright:: Copyright (c) Chef Software Inc.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Author:: Bryan McLellan <btm@loftninjas.org>
2
3
  # Copyright:: Copyright (c) Chef Software Inc.
3
4
  # License:: Apache License, Version 2.0
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  $stderr.puts "WARN: Ohai::Util::FileHelper is deprecated, please use Ohai::Mixin::Which or remove if the reference is unnecessary"
2
3
  require_relative "../mixin/which"
3
4
  module Ohai::Util
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  #
2
3
  # Author:: Stafford Brunk (<stafford.brunk@gmail.com>)
3
4
  # License:: Apache License, Version 2.0
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Author:: Adam Edwards (<adamed@chef.io>)
2
3
  #
3
4
  # Copyright:: Copyright (c) Chef Software Inc.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  #
2
3
  # Author:: Adam Jacob (<adam@chef.io>)
3
4
  # Copyright:: Copyright (c) Chef Software Inc.
@@ -18,5 +19,5 @@
18
19
 
19
20
  module Ohai
20
21
  OHAI_ROOT = File.expand_path(__dir__)
21
- VERSION = "16.6.5".freeze
22
+ VERSION = "16.7.18"
22
23
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  $:.unshift File.expand_path("lib", __dir__)
2
3
  require "ohai/version"
3
4
 
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: 16.6.5
4
+ version: 16.7.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-14 00:00:00.000000000 Z
11
+ date: 2020-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config