summaryrefslogtreecommitdiff
path: root/misc/ruby-ohai
AgeCommit message (Collapse)AuthorFilesLines
2019-04-15*: remove references to ruby 2.3wiz1-2/+2
2019-02-03misc/ruby-ohai: update to 14.8.10taca3-45/+12
* pkgsrc change: add "USE_LANGUAGES= # none" line. 14.8.10 (2018-12-05) Merged Pull Requests * Set User-Agent in HTTP header for GCE plugin #1294 (tas50) * Remove old spec files #1306 (tas50) * Correctly detect openSUSE leap 15+ #1307 (tas50) * Linux Virtualization: Load hyper_v hypervsior hostname from guest #1308 (tas50) * Make SLED be part of the suse platform_family #1323 (tas50) * Don't ship the readme with the ohai gemfile #1324 (tas50) * Linux Virtualization: Use the new nests systems format for lxd / lxc #1329 (tas50) * bsd virtualization: Detect amazonec2 hypervisor + kvm without dmidecode #1327 (tas50) * Add antergos and manjaro linux to the Arch platform_family #1326 (tas50) * Add mangeia platform with madriva platform_family #1328 (tas50) * Add support for XCP-NG platform #1330 (tas50) * Add final notes for Ohai 14.8 #1331 (tas50) * Fix arista platform detection #1332 (tas50) 14.6.2 (2018-10-11) Merged Pull Requests * Review and copyediting of RELEASE_NOTES #1255 (mjingle) * Avoid gathering all data with sysctl which seems to hang #1259 (tas50) * Add more yard comments #1256 (tas50) * Unify the OS plugins #1261 (jaymzh) * Unify the cpu plugin #1262 (jaymzh) * Trim out bogus data in system_profile plugin #1263 (tas50) * [filesystem] Convert rest of unix to fs2 #1266 (jaymzh) * Correctly detect SLES 15 systems as "suse" platform #1272 (tas50) * Deprecate the system_profile plugin #1264 (tas50)
2019-02-03Allow Ruby 2.6 to build.taca1-2/+2
2018-09-23misc/ruby-ohai: update to 14.5.4taca3-21/+27
Changes are too many to write here, please refer CHANGELOG.md: <https://github.com/chef/ohai/blob/master/CHANGELOG.md>.
2018-01-08pkgsrc: allow ruby25taca1-2/+2
Allow build with ruby25-base.
2017-09-18misc/ruby-ohai: update to 13.4.0taca3-8/+11
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-10Update ruby-ohai to 13.3.taca3-10/+12
# 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-06-18Add 24 to RUBY_VERSIONS_ACCEPTED.taca1-1/+3
2017-06-05Update ruby-ohai to 13.1.0.taca3-26/+14
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-02-12Updated misc/ruby-ohai to 8.23.0mef3-8/+12
-------------------------------- ## [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
2016-10-20Update ruby-ohai to 8.21.0.taca3-8/+12
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-15Update ruby-ohai to 8.20.0.taca3-14/+26
pkgsrc chnage: remove obsolete dependency for ruby200. Changess are too many to write here, please refer: https://github.com/chef/ohai/blob/13485c17da688654890047d1952d9f71e735d162/CHANGELOG.md
2016-03-15Update ruby-ohai to 8.12.1.taca2-7/+7
8.12.1 (2016-03-14) Full Changelog Fixed bugs: * Fix gem conflicts in ruby environments that load rake 11 #774 (danielsdeleo)
2016-03-15Update ruby-ohai to 8.12.0.taca3-10/+22
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
2015-12-30Remove RUBY_VERSION_SUPPORTED which has the samve value as default.taca1-3/+1
2015-12-13Update ruby-ohai to 8.8.1.taca3-21/+62
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-11-03Add SHA512 digests for distfiles for misc categoryagc1-1/+2
Problems found locating distfiles: Package colorls: missing distfile ls.tar.gz Package molden: missing distfile molden-4.6/molden4.6.tar.gz Package softmaker-office-demo: missing distfile ofl06trial.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-05Revert ruby-ohay package to 8.4.0 since 8.6.0 was not ready to commit.taca2-15/+7
2015-10-05Mark as broken due to missing dependency: ruby-chef-configsevan1-2/+4
Unbreak scan stage on bulkbuilds Reviewed by: wiz@
2015-10-04Update ruby-ohai to 8.6.0.taca2-7/+13
Release 8.6.0 Phil Dibowitz: * Provide a new and improved filesystem plugin for Linux & Mac (filesystem2), to support CentOS7, multiple virtual filesystems, etc. * Fix Darwin filesystem plugin on newer MacOSX Jonathan Amiez: * Linux filesystems plugin report wrong fs-type for logical volumes involucelate * Fix Windows 2008 hostname truncation #554 Pavel Yudin: * Detect Parallels host and guest virtualization Claire McQuin: * Deprecate Ohai::Config in favor of Ohai::Config.ohai. * Load a configuration file while running as an application. PR #597: * Correct platform, platform_family and version detection on Cisco's Nexus platforms. cmluciano: * add vmware plugin Jean Baptiste Favre: * Detect updated docker cgroup format Shahul Khajamohideen: * Fix memory plugin output on Solaris * Add swap space attributes for Solaris memory plugin * Add swap space attributes for AIX * Add support for SPARC based processors in Solaris cpu plugin * Make AIX cpu plugin's output consistent with Solaris cpu plugin * Make AIX, Solaris memory output consistent to Linux Sean Horn: * ec2 plugin should handle binary userdata too Alexey Karpik: * Add support for SoftLayer cloud MichaelSp: * return correct ipaddress for openvz guests Anthony Caiafa: * Only run ifconfig against active interfaces Shahul Khajamohideen and Sean Escriva: * Windows Memory plugin Chris Chambers: * Convert Solaris OHAI CPU detection to kstat from psrinfo Release 8.5.0 * PR #548: Coerce non-UTF8 strings to UTF8 in output to suppress UTF8 encoding exceptions * PR #544 add support for Wind River Linux and Cisco's Nexus platforms
2015-06-11Update ruby-ohai to 8.4.0.taca3-15/+12
Changes are not available.
2015-03-13Update ruby-ohai to 8.1.1.taca4-9/+19
* pkgsrc change: add pkg_alternatives support. No changes available.
2015-02-01Switch to use mail/ruby-mime-types1 package.taca1-2/+3
Bump PKGREVISION.
2015-01-20Limit Ruby versions to 2.0.x and 2.1.xfhajny1-1/+3
2015-01-19Update ruby-ohai to 8.0.0.fhajny3-11/+39
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
2014-06-03Switch to the existing ruby-yajl package.jperkin1-2/+2
2014-06-03Import misc/ruby-ohai into pkgsrc.jperkin4-0/+276
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.