Commit graph

13 commits

Author SHA1 Message Date
taca
aba562a4b2 misc/ruby-ohai: update to 14.5.4
Changes are too many to write here, please refer CHANGELOG.md:
<https://github.com/chef/ohai/blob/master/CHANGELOG.md>.
2018-09-23 16:30:00 +00:00
taca
891ff02004 misc/ruby-ohai: update to 13.4.0
13.4.0 (2017-09-11)

* Add Arch Linux support to package plugin #1042
* Detect LXC if LXC and Docker are on the same host #1055
* Add Azure metadata endpoint support #1033
* Move all requires into the plugin definitions #1045
* Improve detection of Windows EC2 nodes by using UUID information #1052
* Add error handling in Linux filesystem plugin #1047
* Properly handle uptimes over a year on AIX #1049
* Handle situations where /proc/cpuinfo lacks core data #1038
2017-09-18 04:18:34 +00:00
taca
f4c773b890 Update ruby-ohai to 13.3.
# Ohai Release Notes 13.3

## Additional Platform Support

Ohai now properly detects the [F5 Big-IP](https://www.f5.com/) platform and
platform_version.

- platform: bigip
- platform_family: rhel

# Ohai Release Notes 13.2:

Ohai 13.2 has been a fantastic release in terms of community involvement with
new plugins, platform support, and critical bug fixes coming from community
members. A huge thank you to msgarbossa, albertomurillo, jaymzh, and davide125
for their work.

## New Features

### Systemd Paths Plugin

A new plugin has been added to expose system and user paths from systemd-path
(see <https://www.freedesktop.org/software/systemd/man/systemd-path.html> for
details).

### Linux Network, Filesystem, and Mdadm Plugin Resilience

The Network, Filesystem, and Mdadm plugins have been improved to greatly
reduce failures to collect data. The Network plugin now better finds the
binaries it requires for shelling out, filesystem plugin utilizes data from
multiple sources, and mdadm handles arrays in bad states.

### Zpool Plugin Platform Expansion

The Zpool plugin has been updated to support BSD and Linux in addition to
Solaris.

### RPM version parsing on AIX

The packages plugin now correctly parses RPM package name / version
information on AIX systems.

### Additional Platform Support

Ohai now properly detects the [Clear](https://clearlinux.org/) and
[ClearOS](https://www.clearos.com/) Linux distributions.

#### Clear Linux

- platform: clearlinux
- platform_family: clearlinux

#### ClearOS

- platform: clearos
- platform_family: rhel

## New Deprecations

### Removal of IpScopes plugin. (OHAI-13)

<https://docs.chef.io/deprecations_ohai_ipscopes.html>

In Chef/Ohai 14 (April 2018) we will remove the IpScopes plugin. The data
returned by this plugin is nearly identical to information already returned by
individual network plugins and this plugin required the installation of an
additional gem into the Chef installation. We believe that few users were
installing the gem and users would be better served by the data returned from
the network plugins.
2017-09-10 14:43:41 +00:00
taca
40a34a89f1 Update ruby-ohai to 13.1.0.
v13.1.0 (2017-05-09)

* Improvements to EC2 metadata handling to reuse connections #995 (tas50)
* EC2: Poll EC2 metadata from the new 2016 metadata API versions #992 (tas50)
* Inject sane paths into shell_out #991 (akitada)
* mdadm: Add members devices array #989 (jaymzh)

v13.0.1 (2017-04-12)

Fixed bugs:

* Fix Eucalyptus plugin to use the HttpHelper mixin #987 (akitada)
* Fix OpenStack plugin to use the HttpHelper mixin #986 (akitada)

v13.0.0 (2017-04-06)

Implemented enhancements:

* Load all the plugin paths for ohai plugin dependency resolution #984
  (thommay)
* Require Ruby 2.3+ to match Chef itself #981 (tas50)
* Allow ohai to load a plugin path #980 (thommay)
* Fully rename the cloud_v2 plugin to cloud #978 (tas50)
* Replace the existing filesystem plugin on Linux and Darwin with
  filesystem_v2 #974 (tas50)
* Replace the cloud plugin with the cloud_v2 plugin #973 (tas50)
* Freeze all string values coming out of Ohai. #972 (coderanger)
* Update amazon to use the platform_family of amazon not RHEL #971
  (lamont-granquist)
* Add DMI type 40,41, and 42 from the latest man page #969 (tas50)
* [ec2] Add additional data from identity document #964 (webframp)
* Move duplicate http logic into a helper #951 (tas50)
* Remove deprecated config logic #939 (tas50)
* Require Ruby 2.2+ #938 (tas50)
* Remove the deprecated run_command and popen4 methods #933 (tas50)
* Remove usage of the Sigar gem #930 (tas50)

Fixed bugs:

* Remove sbt version detect as it's not possible in the current sbt #982 (tas50)
* Fix scala detection when version output contains a warning #959 (tas50)
* Fix lua detection on new versions of lua #958 (tas50)
* Fix logger issues #955 (lamont-granquist)
* Rescue exception in DMI plugin #952 (tas50)
* Use name for Windows CPU model_name #918 (tduffield)

8.24.0 (2017-05-08)

* base: Load additional ohai plugins from /etc/chef/ohai/plugins or
  C:\chef\ohai\plugins\
* ec2: Poll EC2 metadata from the new 2016 metadata API versions #992 (tas50)
  mdadm: Add a new 'members' attribute for member devices in the array #989
  (jaymzh)
* dmi: Add DMI type 40,41, and 42 from the latest man page #969 (tas50)
* ec2: Gather availability_zone and region data #964 (webframp)
* scala: Fix scala detection when version output contains a warning #959 (tas50)
* lua: Fix lua detection on new versions of lua #958 (tas50)
* dmi: Rescue exception in DMI plugin to improve debug logs #952 (tas50)
2017-06-05 14:43:01 +00:00
mef
b87b326e80 Updated misc/ruby-ohai to 8.23.0
--------------------------------
## [8.23.0](https://github.com/chef/ohai/tree/8.23.0) (2017-01-23)

**Implemented enhancements:**
- C Plugin: Expand GCC data & only shellout to gcc if Xcode is installed on macOS
- Improve debug logging in multiple plugins
- Detect guests running on Veertu hypervisor
- Properly detect Cumulus Linux platform / version
- Fetch AWS Account ID from metadata

**Fixed bugs:**
- Fix log level selection when running the ohai command
- updating cloud plugin to populate azure private_ip as it's currently nil

## [v8.22.1](https://github.com/chef/ohai/tree/v8.22.1) (2016-12-07)

**Implemented enhancements:**
- Pull the complete version string of Erlang
- Add sysconf plugin to expose system configuration variables

## [8.22.0](https://github.com/chef/ohai/tree/8.22.0) (2016-11-30)

**Implemented enhancements:**
- Detect the global zone of a Solaris system as a virt host even without guests
- Add new haskell language plugin
- Better handle errors in fetching the hostname on darwin (macOS) systems
- Prefer lsb_release tool to /etc/lsb-release data
- Extend set_attribute plugin helper method to set sub-attributes.

**Fixed bugs:**
- Rework / fix logic in the joyent plugin and improve specs
- Avoid  ip_scopes returning tunl/docker interfaces as privateaddress
2017-02-12 05:11:57 +00:00
taca
7affb726ed Update ruby-ohai to 8.21.0.
8.21.0 (2016-10-16)

Full Changelog

Implemented enhancements:

    * Add a new shard plugin #877 (jaymzh)

Fixed bugs:

    * Ohai uptime plugin hangs in Windows. #876 (Aliasgar16)
2016-10-20 15:01:41 +00:00
taca
407608282d Update ruby-ohai to 8.20.0.
pkgsrc chnage: remove obsolete dependency for ruby200.

Changess are too many to write here, please refer:
13485c17da/CHANGELOG.md
2016-10-15 15:27:01 +00:00
taca
40d36d2b5d Update ruby-ohai to 8.12.0.
8.12.0 (2016-03-09)

Full Changelog

Implemented enhancements:

* add plugin to detect user sessions using loginctl #766 (davide125)
* Improve virtualization detection on Solaris #760 (tas50)
* Improve FreeBSD guest virtualization detection #756 (tas50)
* Detect Openstack hosts #751 (tas50)
* Improve KVM host and guest detection #750 (tas50)
* Update GCE metadata API version and fail better #736 (tas50)

Fixed bugs:

* Make ohai work with Chef 12.7 and below #768 (jkeiser)
* Remove XML output in VirtualizationInfo and need for hpricot gem #755 (tas50)

v8.11.1 (2016-03-08)

Full Changelog

Implemented enhancements:

* Detect Azure on non-bootstrapped hosts #657
* Deprecate run_command and popen4 in the command mixin #730 (tas50)
* OHAI-726 Regex to support openjdk 1.8 #727 (davidnewman)
* Add support for the 2 latest EC2 metadata versions #725 (tas50)
* Improved debug logging for cloud plugins #724 (tas50)
* Detect paravirt amazon instances without hint files #722 (tas50)
* Detect Azure using the Azure agent and DHCP options #714 (tas50)

Fixed bugs:

* Use escape_glob_dir instead of escape_glob #747 (jaym)
* have a proper dependency on plist #737 (thommay)
* Fix digital ocean ip address detection #735 (ctso)
* Log sigar gem load failures #731 (tas50)
* ipaddress on Linux - default route pointing to unaddressed interface, with route src #682 (glennmatthews)

Release 8.10.0

* pr#720 Make Windows driver plugin opt-in via config
* pr#717 Don't enable packages plugin by default
* pr#711 Improve EC2 detection for HVM instances when a hint isn't present

Release 8.9.0

* phreakocious:
    - Collect layer 1 Ethernet information per NIC on Linux hosts
* Mark Gibbons:
    - Add kernel[:processor] with output of uname -p output
* Shahul Khajamohideen
    - Add packages plugin
* electrolinux
    - Add "alpine" platform and platform_family
* Julien Berard
    - Add instance_id to rackspace plugin
* Matt Whiteley
    - Allow route table override
* JM Howard Brown
    - Add tests and queue_depth to block_device
* pr#672 CPU plugin for Darwin (OS X) now properly reports the number of real CPUs adds "cores" to match the CPU output on Linux
    pr#674 CPU plugin for FreeBSD now reports "real" and "core" values to match the CPU output on Linux
* pr#654 Improvements to filesystem and wpar detection on AIX
* pr#683 Properly detect the init package on older Linux kernels
* pr#684 Remove non-functional cucumber tests
* pr#695 Fix detection of mac address on IPv6 only systems
* pr#703 Enable ChefStyle per RFC 64
2016-03-15 14:33:26 +00:00
taca
efc7b9e1ba Update ruby-ohai to 8.8.1.
Release 8.8.1

This is a patch release with the following fixes:

* pr#677 Removed dependency on mime-types gem. This could cause failures in some scenarios.
* pr#662 Skip loading the VMWare plug-in when we don't need it (e.g. on non-VMWare systems)
2015-12-13 16:36:11 +00:00
taca
72aed93764 Update ruby-ohai to 8.4.0.
Changes are not available.
2015-06-11 17:28:17 +00:00
taca
4337a51daa Update ruby-ohai to 8.1.1.
* pkgsrc change: add pkg_alternatives support.

No changes available.
2015-03-13 15:02:59 +00:00
fhajny
0ee7b19575 Update ruby-ohai to 8.0.0.
Release 8.0.0
- Retrieve OpenStack-specific metadata.
- Add Cloudstack support.
- Remove newlines in CPU strings on Darwin.
- Match zpool output for OmniOS 151006.
- Add Parallels Cloud Server (PCS) platform support.
- Add Go language plugin.
- regression: qualify device names from lsblk
- Add support for ip version ss131122.
- Reduce GCE metadata timeout to 6 seconds.
- Add Pidora platform detection.
- Presume 'latest' API version on 404 from Eucalyptus metadata server.
- Look for any number of spaces between the VxID and the value.
- Removed *.static.cloud-ips.com and fixed the DNS resolution
  on Rackspace hosts.
- Update specs to use RSpec 3 syntax
- Update mixlib-shellout pin to ~> 2.x

Release 7.6.0
- This release was yanked due to mixlib-shellout 1.x/2.x issues

Release 7.4.0
- Added Powershell plugin.

Release 7.2.4
- linux::network should handle ECMP routes

Release 7.2.2
- Use lsblk instead of blkid if available.
- linux::filesystem now reads all of /proc/mounts instead of just 4K

Release: 7.2.0
- Added platform_family support for ibm_powerkvm (OHAI-558)
- EC2 metadata errors are unhelpful (OHAI-566)
- Support deep virtualization systems in node[:virtualization][:systems]
- Passwd plugin now ignores duplicate users. (OHAI-561)
- Fix warning message about constants already defined (OHAI-572)
- Present all CPU flags on FreeBSD (OHAI-568)
- Ohai doesn't detect all KVM processor types as KVM on FreeBSD (OHAI-575)
- Ohai should expose mdadm raid information on Linux systems (OHAI-578)
- relax regex to match newer Oracle Solaris releases (OHAI-563)
- add exherbo support (OHAI-570)
- Add inode information to the Linux Filesystem plugin. (OHAI-539)
- Change log-level from warn to debug for missing gateway IPs.
- Include Joyent SmartOS specific attributes in Ohai. (OHAI-458)
- Collect ec2 metadata even if one of the resources returns a 404.
- Provide basic memory information for Mac OS X. (OHAI-431)
- Rackspace plugin rescues Errno::ENOENT if xenstor-* utils are not found
- root_group provider not implemented for Windows (OHAI-491)
- Ohai::Exceptions::AttributeNotFound errors in Chef's ohai resource
- Be reluctant to call something an LXC host (OHAI-573)
- Assume 'latest' metadata versions on 404
2015-01-19 21:21:11 +00:00
jperkin
52b580a838 Import misc/ruby-ohai into pkgsrc.
Ohai detects data about your operating system. It can be used
standalone, but it's primary purpose is to provide node data to Chef.

Ohai will print out a JSON data blob for all the known data about your
system. When used with Chef, that data is reported back via node
attributes.
2014-06-03 13:49:28 +00:00