summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use scutil to get hostname and computernamemacos_hostnameTim Smith2021-04-096-18/+11
| | | | | | Fetch the hostname and computername in a more macOS way. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.33 by Chef Expeditorv17.0.33Chef Expeditor2021-04-073-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1645 from ramereth/os_releaseTim Smith2021-04-062-0/+297
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Create os_release plugin for parsing data from /etc/os-releaseLance Albertson2021-04-062-0/+297
|/ | | | | | | | | On newer Linux systems which use systemd, they should include /etc/os-release [1] which includes a lot of platform information that can be useful downstream. [1] https://www.freedesktop.org/software/systemd/man/os-release.html Signed-off-by: Lance Albertson <lance@osuosl.org>
* Bump version to 17.0.32 by Chef Expeditorv17.0.32Chef Expeditor2021-04-053-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1636 from bhaveshdavda/ohai-glibc-bhavesh.davda@oracle.comLamont Granquist2021-04-052-41/+22
|\
| * Ohai: Fix C-language unit test to match new versions and strings for glibcBhavesh Davda2021-03-251-3/+3
| | | | | | | | Signed-off-by: Bhavesh Davda <bhavesh.davda@oracle.com>
| * Ohai: Fix unit tests for C-language glibc version checkBhavesh Davda2021-03-251-30/+13
| | | | | | | | | | | | Replace invocation of libc.so.6 with "ldd --version" instead Signed-off-by: Bhavesh Davda <bhavesh.davda@oracle.com>
| * Ohai: Change C language plugin for glibc version detectionBhavesh Davda2021-03-251-8/+6
| | | | | | | | | | | | | | | | | | | | | | It's not safe to directly execute "libc.so.6" to determine glibc version. This can lead to segfaults when other shared libraries are preloaded using LD_PRELOAD or /etc/ld.so.preload due to circular relocation dependencies. Replace this version detection with "ldd --version" as "ldd" is a core part of glibc and reports the same version. Signed-off-by: Bhavesh Davda <bhavesh.davda@oracle.com>
* | Bump version to 17.0.31 by Chef Expeditorv17.0.31Chef Expeditor2021-04-023-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1637 from zalokhan/eth-offloadsTim Smith2021-04-022-0/+44
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * network: Add offload features to node.Zeeshan Lokhandwala2021-03-312-0/+44
|/ | | | | | Populate node with offload features information queried via ethtool -k. Signed-off-by: Zeeshan Lokhandwala <zeeshanl@fb.com>
* Bump version to 17.0.30 by Chef Expeditorv17.0.30Chef Expeditor2021-03-153-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1635 from chef/platform_orderTim Smith2021-03-151-5/+5
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Stick the common matched platforms firstplatform_orderTim Smith2021-03-131-5/+5
|/ | | | | | Nothing super scientific here, but it's about 10% faster to match if the data is hit sooner. Stick the super obscure stuff last. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.29 by Chef Expeditorv17.0.29Chef Expeditor2021-03-133-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1632 from chef/xcpTim Smith2021-03-122-8/+12
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update the XCP-ng Linux DetectionxcpTim Smith2021-03-092-8/+12
| | | | | | | | | | | | | | | | - All supported releases have an /etc/os-release file so nuke the legacy detection - The platform ID in the os-release file is XCP-ng in 7 and xenserver in 8 (this is a bug IMO) so update the XCP match - Downcase platform IDs. It seems like everyone makes these lowercase, but XCP-ng. There may be others and ohai platforms need to be lowercase Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.28 by Chef Expeditorv17.0.28Chef Expeditor2021-03-123-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 17.0.27 by Chef Expeditorv17.0.27Chef Expeditor2021-03-123-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1633 from chef/pidoraTim Smith2021-03-122-2/+2
|\ \ | | | | | | Remove support for Pidora which is discontinued
| * | Remove support for Pidora which is discontinuedpidoraTim Smith2021-03-122-2/+2
| | | | | | | | | | | | | | | | | | Pidora is Fedora 18 and hasn't been updated since 2014. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #1634 from chef/antergosTim Smith2021-03-122-2/+2
|\ \ \ | |/ / |/| | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Remove support for discontinued antergos distroantergosTim Smith2021-03-122-2/+2
|/ / | | | | | | | | | | | | This distro is now discontinued with the last release having shipped in 2019 Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update RELEASE_NOTES.mdTim Smith2021-03-121-466/+1
|/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.26 by Chef Expeditorv17.0.26Chef Expeditor2021-03-093-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1631 from hron84/feature/add-support-sangoma-linuxTim Smith2021-03-091-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add support for Sangoma LinuxGabor Garami2021-03-091-1/+1
|/
* Bump version to 17.0.25 by Chef Expeditorv17.0.25Chef Expeditor2021-03-073-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1630 from chef/rubocop_perfTim Smith2021-03-062-2/+2
|\ | | | | Update rubocop-performance to 1.10.1 and revert optimization
| * Update rubocop-performance to 1.10.1Tim Smith2021-03-062-2/+2
| | | | | | | | | | | | | | This has some nice bugfixes. Revert the previous optimization that broke things Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.24 by Chef Expeditorv17.0.24Chef Expeditor2021-03-013-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1629 from chef/rubocop_perfTim Smith2021-03-012-2/+2
|\ \ | |/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Resolve new rubocop-performance warningrubocop_perfTim Smith2021-02-282-2/+2
|/ | | | | | Looks like this comparison is 2x faster on average according to docs Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove empty line in specTim Smith2021-02-231-1/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.23 by Chef Expeditorv17.0.23Chef Expeditor2021-02-243-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1627 from jaymzh/virtualizationTim Smith2021-02-232-1/+17
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Detect docker properly even if it's within virtualizationPhil Dibowitz2021-02-232-1/+17
|/ | | | | | | | Docker is docker even if it is within other things. Closes #1626 Signed-off-by: Phil Dibowitz <phil@ipom.com>
* Bump version to 17.0.22 by Chef Expeditorv17.0.22Chef Expeditor2021-02-233-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1625 from chef/fix_hab_ohaiTim Smith2021-02-231-6/+8
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Don't return in the hab pluginTim Smith2021-02-221-6/+8
|/ | | | | | | Returning in an ohai collect block stops the ohai run entirely without any data being returned. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.21 by Chef Expeditorv17.0.21Chef Expeditor2021-02-223-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1624 from collinmcneese/effortless_checkTim Smith2021-02-222-0/+30
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update lib/ohai/plugins/chef.rb CollinM2021-02-221-1/+1
| | | | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io> Co-authored-by: Tim Smith <tsmith84@gmail.com>
| * Adds chef_effortless collection to chef pluginCollin McNeese2021-02-222-0/+30
|/ | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
* Bump version to 17.0.20 by Chef Expeditorv17.0.20Chef Expeditor2021-02-203-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1623 from collinmcneese/habitat_pluginTim Smith2021-02-192-0/+137
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * updates for habitat plugin from PR recommendationsCollin McNeese2021-02-191-10/+9
| | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
| * Updates habitat plugin to not be run by defaultCollin McNeese2021-02-191-1/+0
| | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>
| * Updates habitat plugin to be optionalCollin McNeese2021-02-191-0/+1
| | | | | | | | Signed-off-by: Collin McNeese <cmcneese@chef.io>