summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update testing for systems w/o core count in /proc/cpuinfoslesTim Smith2017-08-152-101/+141
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Handle situations where /proc/cpuinfo lacks core dataTim Smith2017-07-301-2/+29
| | | | | | This works around failures to collect core data on SLES <= 12 SP1. We need to support SLES and core counts are used in several of our product cookbooks. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1036 from chef/tas50-patch-1Tim Smith2017-07-191-0/+9
|\ | | | | Add f5 detection to the release notes
| * Add f5 detection to the release notestas50-patch-1Tim Smith2017-07-191-0/+9
|/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1035 from chef/f5Tim Smith2017-07-192-1/+36
|\ | | | | Detect F5 Big-IPs as platform bigip
| * Add a test for bigip platform detectionf5Tim Smith2017-07-191-0/+19
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Detect F5 Big-IPs as platform bigipTim Smith2017-07-191-1/+17
|/ | | | | | They're RHEL + a bunch of secret sauce. Put them in the RHEL platform family, detect the platform properly, and parse the platform version so it doesn't get the RHEL platform version instead. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1031 from chef/traviscurrentThom May2017-07-141-1/+1
|\ | | | | Test on Trusty in Travis
| * Test on Trusty in TravistraviscurrentTim Smith2017-07-111-1/+1
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1030 from chef/jsinha/cherry-pick_solaris2_network_fixTim Smith2017-07-112-7/+5
|\ | | | | Jsinha/cherry pick solaris2 network fix
| * Address review commentsJaymala Sinha2017-07-112-7/+4
| | | | | | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
| * Fix solaris2 ipaddress attribute searchJaymala Sinha2017-07-112-3/+4
|/ | | | | | | | | | | | | ```# ohai ipaddress ``` returns following warnings and replaces the node IP address with a blank IP after chef-client run ``` [2017-07-07T20:36:32+00:00] WARN: [inet] no ip address on net0 [2017-07-07T20:36:32+00:00] WARN: unable to detect ipaddress /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.19.1/lib/ohai/system.rb:193:in `attributes_print': I cannot find an attribute named ipaddress! (ArgumentError) ``` Tested this fix on solaris11 client node and verfied IP address was retained after ccr. Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Merge pull request #1025 from chef/13.2v13.2.0Tim Smith2017-06-292-19/+25
|\ | | | | Release 13.2
| * Release note update per jaymzh13.2Tim Smith2017-06-291-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Release 13.2Tim Smith2017-06-292-19/+25
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1023 from chef/deprecate_scopeThom May2017-06-291-0/+2
|\ | | | | Deprecate the IPScopes Plugin
| * Deprecate the IPScopes Plugindeprecate_scopeTim Smith2017-06-291-0/+2
| | | | | | | | | | | | | | | | | | 2 reasons: 1) It requires a gem we're not installing so no one is actually using this. It's just failing to load during every Ohai run 2) If they do install the gem what they end up if fairly duplicate information to what we already provide in a few of the networking plugins Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1020 from chef/pr/1016Tim Smith2017-06-293-2/+13
|\ \ | |/ |/| PR #1016 with updates
| * Add a spec for RPM package parsing on AIXpr/1016Tim Smith2017-06-292-0/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Chefstyle fixTim Smith2017-06-291-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * fix AIX rpm datamichael.sgarbossa2017-06-291-2/+8
| | | | | | | | Signed-off-by: michael.sgarbossa <michael.sgarbossa@cvshealth.com>
* | Merge pull request #1021 from albertomurillo/clearlinuxTim Smith2017-06-292-0/+41
|\ \ | |/ |/| Add support for ClearLinux
| * Add support for ClearLinuxAlberto Murillo Silva2017-06-282-0/+41
|/ | | | | | | Set platform and platform_family to 'clearlinux' on Clear Linux OS nodes. Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
* Merge pull request #1017 from jaymzh/fix_mdadm_inactiveTim Smith2017-06-202-2/+16
|\ | | | | [mdadm] Handle inactive arrays correctly
| * [mdadm] Handle inactive arrays correctlyPhil Dibowitz2017-06-202-2/+16
| | | | | | | | | | | | | | Currently we don't handle inactive arrays correctly, this will do so better. Tests included. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Merge pull request #1018 from chef/lcg/chefstyle2Lamont Granquist2017-06-2022-104/+95
|\ \ | |/ |/| autofixing cops for chefstyle 0.5.0
| * autofixing cops for 0.5.0Lamont Granquist2017-06-2022-104/+95
|/ | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #1014 from jaymzh/fix_filesystemTim Smith2017-06-162-38/+141
|\ | | | | Make filesystem more resilient
| * Make filesystem more resilientPhil Dibowitz2017-06-142-38/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today lsblk and blkid each have their various shortcomings. Various hacks and workarounds have been added and changed as we migrated to using lsblk over blkid, but we can do better. We run over both and combine the data. This was caught when we noticed that somne of our AOE-type filesystems were not recognized by lsblk when not mounted, but blkid did notice them. This meant we thought the devices were not formatted and wanted to format them. That's bad. Mega bad. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Merge pull request #1004 from chef/add_clearos_rhel_platform_familyTim Smith2017-06-142-1/+9
|\ \ | | | | | | Add clearos platform to RHEL platform_family
| * | Add a spec for clearos platform detectionadd_clearos_rhel_platform_familyTim Smith2017-06-101-0/+8
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add clearos platform to RHEL platform_familyJennifer Davis2017-06-101-1/+1
| | | | | | | | | | | | Signed-off-by: Jennifer Davis <iennae@gmail.com>
* | | Merge pull request #1013 from davide125/systemd_pathsTim Smith2017-06-142-0/+161
|\ \ \ | |_|/ |/| | Add systemd_paths plugin for system and user paths
| * | Add systemd_paths plugin for system and user pathsDavide Cavalca2017-06-132-0/+161
|/ / | | | | | | Signed-off-by: Davide Cavalca <dcavalca@fb.com>
* | Merge pull request #1009 from chef/network_whichTim Smith2017-06-102-38/+16
|\ \ | |/ |/| Find network binaries with the which helper
| * Avoid extra file stats and simplify things a bitTim Smith2017-06-102-18/+16
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Find network binaries with the which helperTim Smith2017-06-102-34/+14
|/ | | | | | We're doing something very similar to which in these methods. We should just use which directly and avoid a bit more complexity Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1012 from jaymzh/fix_mdadmTim Smith2017-06-082-2/+21
|\ | | | | fix mdadm plugin when arrays are in interesting states.
| * fix mdadm plugin when arrays are in interesting states.Phil Dibowitz2017-06-082-2/+21
|/ | | | | | read-only and other things can change the output. Be more careful. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* Merge pull request #1010 from davide125/cpuTim Smith2017-06-072-0/+51
|\ | | | | cpu: add support for arm64 cpuinfo fields
| * cpu: add support for arm64 cpuinfo fieldsDavide Cavalca2017-06-062-0/+51
|/ | | | Signed-off-by: Davide Cavalca <dcavalca@fb.com>
* Merge pull request #1008 from chef/hardware_shelloutTim Smith2017-06-022-22/+16
|\ | | | | Only shellout to sw_vers in darwin hardware once
| * Only shellout to sw_vers in darwin hardware oncehardware_shelloutTim Smith2017-06-012-22/+16
| | | | | | | | | | | | Avoid 2 extra shell_outs by just parsing the fields Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1007 from chef/debug_betterTim Smith2017-06-022-39/+90
|\ \ | |/ |/| Run sysctl only once on Darwin to determine CPU data
| * Run sysctl once on Darwin to determine CPU datadebug_betterTim Smith2017-06-012-39/+90
| | | | | | | | | | | | It's 13% slower to do individual shell outs. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1006 from chef/debug_betterTim Smith2017-06-0121-41/+40
|\ \ | |/ | | More consistent debug messaging
| * More consistent debug messagingTim Smith2017-06-0121-41/+40
|/ | | | | | I think this is the last of it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #1001 from chef/zpoolTim Smith2017-06-013-169/+281
|\ | | | | Update zpools plugin to work on Linux/BSD
| * Support BSDzpoolTim Smith2017-05-161-2/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add specs for LinuxTim Smith2017-05-151-59/+146
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>