summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump Ohai to 17.0.0bump_majorTim Smith2020-12-112-3/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update for the 16-stable branchTim Smith2020-12-111-0/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 16.8.1Chef Expeditor2020-12-111-13/+10
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.8.1 by Chef Expeditorv16.8.1Chef Expeditor2020-12-043-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1590 from davide125/grub2Tim Smith2020-12-042-0/+91
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * grub2: add plugin to expose GRUB2 environment variablesDavide Cavalca2020-12-042-0/+91
|/ | | | Signed-off-by: Davide Cavalca <dcavalca@fb.com>
* Bump version to 16.8.0 by Chef Expeditorv16.8.0Chef Expeditor2020-12-013-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1587 from chef/fix_linodeTim Smith2020-12-012-20/+36
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update Linode plugin to use domain / apt data to detect Linodefix_linodeTim Smith2020-11-272-16/+33
| | | | | | | | | | | | The current Linode plugin doesn't work at all. They no longer roll custom kernels so the kernel name detection doesn't ever fire. Instead we can look at the domain to see if it includes linode on RHEL boxes on check the apt sources on Debian/Ubuntu boxes. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update comments to be yardTim Smith2020-11-271-4/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.38 by Chef Expeditorv16.7.38Chef Expeditor2020-11-283-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1586 from chef/nuke_providesTim Smith2020-11-272-2/+0
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove platform dependencies that aren't needednuke_providesTim Smith2020-11-272-2/+0
|/ | | | | | These aren't being used in these plugins. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update CHANGELOG.md to reflect the promotion of 16.7.37Chef Expeditor2020-11-241-29/+26
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.7.37 by Chef Expeditorv16.7.37Chef Expeditor2020-11-243-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1583 from chef/xlcTim Smith2020-11-242-3/+15
|\ | | | | Fix XLC compiler detection to support 3 part version numbers
| * Fix XLC compiler detection to support 3 part version numbersxlcTim Smith2020-11-232-3/+15
| | | | | | | | | | | | Add a spec with the newer XLC output from our build systems. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.36 by Chef Expeditorv16.7.36Chef Expeditor2020-11-243-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.7.35 by Chef Expeditorv16.7.35Chef Expeditor2020-11-243-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1584 from chef/docker_crashTim Smith2020-11-242-5/+7
|\ \ | | | | | | Prevent docker plugin crashes on AIX
| * | Prevent docker plugin crashes on AIXdocker_crashTim Smith2020-11-232-5/+7
| |/ | | | | | | | | | | | | | | | | AIX lacks node['virtualization']['systems'] like every other OS so we need to be a bit more defensive here. Just skip running this plugin entirely on platforms without Docker Signed-off-by: Tim Smith <tsmith@chef.io>
* | Merge pull request #1585 from chef/skip_pluginsTim Smith2020-11-248-5/+9
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Limit several of the Cloud/VM plugins to certain platformsTim Smith2020-11-248-5/+9
|/ | | | | | Running these on platforms these hypervisors / clouds don't support is pointless and in the case of scaleway it crashes on at least AIX. I went off the list of platforms these clouds / hypervisors support. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.34 by Chef Expeditorv16.7.34Chef Expeditor2020-11-233-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1582 from chef/style_cleanupTim Smith2020-11-2331-117/+108
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Misc RuboCop cleanup of the codebaseTim Smith2020-11-2331-117/+108
|/ | | | | | A few misc things Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.33 by Chef Expeditorv16.7.33Chef Expeditor2020-11-193-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1580 from chef/lpar_detectionTim Smith2020-11-182-5/+3
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix lpar name detectionlpar_detectionTim Smith2020-11-182-5/+3
| | | | | | | | | | | | LPAR partition names can have spaces in them, which is problematic with our previous split method which would throw away anything past the space. On our internal AIX cluster "virtlpar03 - 7.1 testers" became just "virtlpar03". Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.32 by Chef Expeditorv16.7.32Chef Expeditor2020-11-193-5/+6
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1578 from chef/simplify_stripsTim Smith2020-11-1814-43/+41
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * 1 line from_cmd in vmware as wellTim Smith2020-11-181-2/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use strip instead of split($/) to cleanup shelloutTim Smith2020-11-1814-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` irb(main):008:0> "something\n ".split($/)[0] => "something" ``` ``` irb(main):009:0> "something\n ".strip => "something" ``` Calculating ------------------------------------- split_stuff 120.000 memsize ( 0.000 retained) 3.000 objects ( 0.000 retained) 2.000 strings ( 0.000 retained) strip_stuff 80.000 memsize ( 0.000 retained) 2.000 objects ( 0.000 retained) 2.000 strings ( 0.000 retained) Comparison: strip_stuff: 80 allocated split_stuff: 120 allocated - 1.50x more Warming up -------------------------------------- split_stuff 328.234k i/100ms strip_stuff 604.612k i/100ms Calculating ------------------------------------- split_stuff 3.648M (± 3.2%) i/s - 18.381M in 5.044570s strip_stuff 5.993M (± 2.8%) i/s - 30.231M in 5.048664s Comparison: strip_stuff: 5992617.3 i/s split_stuff: 3647589.6 i/s - 1.64x (± 0.00) slower Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.31 by Chef Expeditorv16.7.31Chef Expeditor2020-11-193-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1577 from chef/simplify_kernelTim Smith2020-11-182-6/+6
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Simplify the aix kernel pluginTim Smith2020-11-182-6/+6
| | | | | | | | | | | | | | There's no point in querying that we're on aix when we only execute this collect on aix. Just hard code it to aix for historic reasons. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.30 by Chef Expeditorv16.7.30Chef Expeditor2020-11-183-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1576 from chef/aix_virtualizationTim Smith2020-11-182-4/+11
|\ \ | |/ |/| Signed-off-by: Tim Smith <tsmith@chef.io>
| * Gather wpar stateTim Smith2020-11-182-2/+10
| | | | | | | | | | | | This is an important thing to know about the wpars Signed-off-by: Tim Smith <tsmith@chef.io>
| * Simplify shellout and chompsTim Smith2020-11-181-3/+2
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.7.29 by Chef Expeditorv16.7.29Chef Expeditor2020-11-183-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1575 from chef/aix_kernelTim Smith2020-11-182-4/+3
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Just set the aix platform / platform_family directlyTim Smith2020-11-182-4/+3
| | | | | | | | | | | | If we're in a collect block for aix then we're on aix. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.28 by Chef Expeditorv16.7.28Chef Expeditor2020-11-183-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1574 from chef/aix_kernelTim Smith2020-11-182-10/+9
|\ \ | |/ | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid calling uname 4 times on aixTim Smith2020-11-182-10/+9
| | | | | | | | | | | | Just get all the data we need and then split it. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.7.27 by Chef Expeditorv16.7.27Chef Expeditor2020-11-183-5/+6
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1573 from chef/more_aix_networkTim Smith2020-11-182-12/+124
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid running the regex for each lineTim Smith2020-11-181-6/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Convert shellouts to grep to use regexes in Ruby insteadTim Smith2020-11-182-6/+120
| | | | | | | | | | | | This is significantly faster and having all the data in the specs makes it easier to refactor this later without having access to an AIX system. Signed-off-by: Tim Smith <tsmith@chef.io>