summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #1543 from chef/omniosTim Smith2020-10-281-6/+40
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove some duplicate plugin.run callsomniosTim Smith2020-10-281-9/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add unit testing for omnios platform detectionTim Smith2020-10-281-0/+40
| | | | | | | | | | | | | | Make sure this actually works and act as a reference for what the output actually looks like. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.1 by Chef Expeditorv16.7.1Chef Expeditor2020-10-293-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1542 from chef/opensolarisTim Smith2020-10-281-3/+0
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove detection of opensolaris platformopensolarisTim Smith2020-10-281-3/+0
|/ | | | | | | OpenSolaris is beyond dead at this point and there's no reason to continue running checks to see if we're on it. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.0 by Chef Expeditorv16.7.0Chef Expeditor2020-10-203-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1536 from chef/nuke_yard_taskTim Smith2020-10-203-14/+0
|\ | | | | Remove the yard task for generating docs
| * Remove the yard task for generating docsnuke_yard_taskTim Smith2020-10-203-14/+0
| | | | | | | | | | | | | | If someone wants to generate docs they can just run yard against the repo. This is overengineered Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md to reflect the promotion of 16.6.5Chef Expeditor2020-10-141-16/+13
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.6.5 by Chef Expeditorv16.6.5Chef Expeditor2020-10-143-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1525 from kcbraunschweig/issue1524Tim Smith2020-10-142-8/+19
|\ \ | | | | | | Include IAM role in ec2 data (issue #1524)
| * | Include IAM role and info in ec2 data (issue #1524)KC Braunschweig2020-10-082-8/+19
| | | | | | | | | | | | | | | | | | Signed-off-by: KC Braunschweig <kcb@fb.com> Co-authored-by: pete higgins <pete@peterhiggins.org>
* | | Bump version to 16.6.4 by Chef Expeditorv16.6.4Chef Expeditor2020-10-143-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #1503 from chef/lcg/ohai-target-modeTim Smith2020-10-1463-475/+704
|\ \ \ | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Update lib/ohai/mixin/chef_utils_wiring.rb lcg/ohai-target-modeLamont Granquist2020-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * | | Update lib/ohai/mixin/os.rb Lamont Granquist2020-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
| * | | Target Mode OhaiLamont Granquist2020-10-0163-483/+704
| | | | | | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | Bump version to 16.6.3 by Chef Expeditorv16.6.3Chef Expeditor2020-10-123-5/+6
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #1522 from vraravam/deprecate-color-biased-methodsTim Smith2020-10-123-5/+9
|\ \ \ \ | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>