summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update lib/ohai/plugins/aix/network.rb aixTim Smith2020-11-171-3/+1
| | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
* Fixes for test failuresTim Smith2020-11-172-6/+7
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Use .each_line vs. .lines.eachTim Smith2020-11-171-6/+6
| | | | | | This uses 2% less memory in my benchmarks Signed-off-by: Tim Smith <tsmith@chef.io>
* Update spec nameTim Smith2020-11-171-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Use pure ruby vs. shelling out to grep to parse netstat dataTim Smith2020-11-172-8/+20
| | | | | | | | | | | Besides avoiding potentially pathing issues with grep this is faster: ``` Comparison: pure_ruby: 55.9 i/s grep: 41.6 i/s - 1.34x (± 0.00) slower ``` Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't set network[:interfaces] to an empty mash when we set it laterTim Smith2020-11-171-1/+0
| | | | | | Avoid setting this twice. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.20 by Chef Expeditorv16.7.20Chef Expeditor2020-11-163-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1565 from chef/perfTim Smith2020-11-161-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update rubocop-performance to 1.9Tim Smith2020-11-161-1/+1
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.19 by Chef Expeditorv16.7.19Chef Expeditor2020-11-163-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1566 from chef/fix-specsTim Smith2020-11-161-1/+1
|\ | | | | Update mock logger to fix shellout specs.
| * Update mock logger to fix shellout specs.Pete Higgins2020-11-161-1/+1
|/ | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Update CHANGELOG.md to reflect the promotion of 16.7.18Chef Expeditor2020-11-121-29/+26
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.7.18 by Chef Expeditorv16.7.18Chef Expeditor2020-11-073-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.7.17 by Chef Expeditorv16.7.17Chef Expeditor2020-11-073-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1561 from chef/lsbTim Smith2020-11-061-4/+4
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove the line anchor from the LSB plugin matcheslsbTim Smith2020-11-061-4/+4
| | | | | | | | | | | | These are 1 line at a time matches and we want everything until the end. There's no point in doing it this way. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1562 from chef/remove_legacy_lsbTim Smith2020-11-062-49/+1
|\ \ | | | | | | Remove Linux LSB support for systems without lsb-release CLI
| * | Remove Linux LSB support for systems with lsb-release CLIremove_legacy_lsbTim Smith2020-11-062-49/+1
| |/ | | | | | | | | | | This was something we did for legacy Debian < 7. Seems like we're good to nuke this at this point since we don't ship on anything less than 9 now. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.16 by Chef Expeditorv16.7.16Chef Expeditor2020-11-073-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1563 from chef/more_anchorsTim Smith2020-11-061-36/+36
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove regex anchors in the Linux Memory pluginmore_anchorsTim Smith2020-11-061-36/+36
|/ | | | | | | We're trying to match all everything here so we don't care about the end of the line. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.15 by Chef Expeditorv16.7.15Chef Expeditor2020-11-073-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1560 from chef/fix_hostnamectlTim Smith2020-11-062-2/+4
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update lib/ohai/plugins/linux/hostnamectl.rb Tim Smith2020-11-061-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * Update lib/ohai/plugins/linux/hostnamectl.rb Tim Smith2020-11-061-1/+1
| | | | | | | | | | | | | | TIL you can limit the split. Thanks @ziggythehamster Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: Keith Gable <ziggy@ignition-project.com>
| * Fix parsing of hostnamectl to support values with colonsfix_hostnamectlTim Smith2020-11-062-2/+4
|/ | | | | | This is probably faster too since we don't have to lstrip each result. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.14 by Chef Expeditorv16.7.14Chef Expeditor2020-11-063-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1558 from chef/speedupTim Smith2020-11-063-9/+3
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Collapse duplicate branches in case statementsTim Smith2020-11-063-9/+3
| | | | | | | | | | | | Simpler case statements Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.13 by Chef Expeditorv16.7.13Chef Expeditor2020-11-053-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1556 from chef/speedupTim Smith2020-11-041-0/+2
|\ \ | |/ | | Speedup the slowest spec by running fewer plugins
| * Speedup the slowest spec by running fewer pluginsTim Smith2020-11-041-0/+2
| | | | | | | | | | | | This spec runs the entire Ohai suite, which can take a bit of time. let's disable the slowest stuff to speed it up a bit. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.12 by Chef Expeditorv16.7.12Chef Expeditor2020-11-053-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1557 from chef/debug_timeTim Smith2020-11-041-1/+1
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Better format the elapsed plugin timedebug_timeTim Smith2020-11-041-1/+1
|/ | | | | | Some of it was being printed in scientific notation depending on the elapsed time. Always print as a float and only show 6 digits. This makes it easier to sort and to reason with. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.11 by Chef Expeditorv16.7.11Chef Expeditor2020-11-043-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1555 from chasebolt/patch-1Tim Smith2020-11-041-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * pop_os is a derivative of ubuntuChase Bolt2020-11-041-1/+1
|/ | | | Signed-off-by: Chase Bolt <chase.bolt@gmail.com>
* Bump version to 16.7.10 by Chef Expeditorv16.7.10Chef Expeditor2020-11-023-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1553 from chef/memoryTim Smith2020-11-0116-17/+20
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Check for the Rackspace kernel 3x fastermemoryTim Smith2020-10-311-1/+1
| | | | | | | | | | | | Also avoid creating an array while we do it Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use an array vs. appending a string in RubyTim Smith2020-10-311-2/+3
| | | | | | | | | | | | This is actually slightly faster too Signed-off-by: Tim Smith <tsmith@chef.io>
| * Minor memory optimizationsTim Smith2020-10-3114-14/+16
|/ | | | | | Shave a bit more memory usage off Ohai Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.9 by Chef Expeditorv16.7.9Chef Expeditor2020-10-303-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1551 from chef/frozen_strings_v2Tim Smith2020-10-30142-11/+153
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Merge branch 'master' into frozen_strings_v2Tim Smith2020-10-307-20/+22
| |\ | |/ |/|
* | Bump version to 16.7.8 by Chef Expeditorv16.7.8Chef Expeditor2020-10-303-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1549 from chef/zpoolTim Smith2020-10-302-12/+12
|\ \ | | | | | | Properly detect NVME/XVD devices in ZFS zpools
| * | Detect XVD disks as wellTim Smith2020-10-302-4/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>