summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | Properly detect NVME devices in ZFS zpoolsTim Smith2020-10-302-10/+10
| | | | | | | | | | | | | | | | | | Add another match in the zpool status regex and then update the existing unit test to have some NVME devices in it. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.7.7 by Chef Expeditorv16.7.7Chef Expeditor2020-10-303-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #1550 from chef/faster_splitsTim Smith2020-10-302-3/+3
|\ \ \ | |/ / |/| | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Split on strings intead of regex for 3x speedupTim Smith2020-10-302-3/+3
|/ / | | | | | | | | | | This is just over 3x faster than using the regex. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Stop freezing things that are already frozenfrozen_strings_v2Tim Smith2020-10-307-10/+10
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Freeze the strings we're not later modifyingTim Smith2020-10-30142-1/+143
|/ | | | | | There's a few plugins that this couldn't be enabled on due to how we build strings, but for the most part this is an easy one to turn on and it shaves 1k from the runtime memory! Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.6 by Chef Expeditorv16.7.6Chef Expeditor2020-10-303-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1547 from chef/more_zpoolTim Smith2020-10-302-3/+5
|\ | | | | Gather zpool disks even if zpools uses disk labels/guids
| * Gather zpool disks even if we use labels/guidsmore_zpoolTim Smith2020-10-292-3/+5
| | | | | | | | | | | | | | | | We were expecting the disk name for each device in the pool, but it's actually better to add them by disk id or guid. That entirely breaks out regex so use -L on linux to make sure we get the underlying disk. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.5 by Chef Expeditorv16.7.5Chef Expeditor2020-10-303-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1548 from chef/simplify_regexTim Smith2020-10-305-6/+6
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Simplify regexes by removing extra character classessimplify_regexTim Smith2020-10-305-6/+6
|/ | | | | | | We're working harder here than we need to. Let's simplify these and make them easier to figure out for the humans involved. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.4 by Chef Expeditorv16.7.4Chef Expeditor2020-10-293-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1545 from chef/openindiana_workingTim Smith2020-10-292-25/+95
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use let for the plugin dataopenindiana_workingTim Smith2020-10-281-27/+28
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Collapse down the duplicate Solaris checksTim Smith2020-10-281-3/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Properly detect OpenIndiana and its version numbersTim Smith2020-10-282-6/+77
|/ | | | | | | | | | 1) Our regexes for the most part here were more complex than they needed to be 2) OpenIndiana's is now called OpenIndiana Hipster so the old regex was not working 3) Even the old regex only detected the major releae instead of the full 3 point version I doubt anyone is using the non-Hipster release at this point, but we detect it properly now and we have specs in place. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.3 by Chef Expeditorv16.7.3Chef Expeditor2020-10-293-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1544 from chef/NexentaTim Smith2020-10-281-2/+0
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove detection of EOL NexentaCoreNexentaTim Smith2020-10-281-2/+0
|/ | | | | | This was EOL'd October 31, 2012 Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.2 by Chef Expeditorv16.7.2Chef Expeditor2020-10-293-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.