summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove non-Ohai requires from specs to prevent false positivesremove_requiresTim Smith2020-08-107-9/+0
| | | | | | The plugins should require everything they need unless we're using those library to mock out objects like we do in some Windows specs. This way we rely on the requires in the plugins and specs fail if those requires are removed. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.4.6 by Chef Expeditorv16.4.6Chef Expeditor2020-08-103-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1490 from chef/systemuTim Smith2020-08-101-1/+0
|\ | | | | Remove unused systemu dependency
| * Remove unused systemu dependencysystemuTim Smith2020-08-091-1/+0
| | | | | | | | | | | | I can't see a place where we're using this. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.4.5 by Chef Expeditorv16.4.5Chef Expeditor2020-08-103-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1491 from chef/avoid_valsTim Smith2020-08-1059-139/+108
|\ \ | |/ |/| Minor memory optimizations
| * Avoid creating more shellout objectsavoid_valsTim Smith2020-08-091-10/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Simplify constantsTim Smith2020-08-092-4/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid creating more shellout objects we don't needTim Smith2020-08-099-34/+16
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid creating shellout objects in the platform pluginsTim Smith2020-08-095-18/+9
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid setting the mid value to nil and then setting it againTim Smith2020-08-091-2/+2
| | | | | | | | | | | | Just fall back to nil with an else Signed-off-by: Tim Smith <tsmith@chef.io>
| * Exclude profiling gems on WindowsTim Smith2020-08-093-3/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Avoid a constant we don't actually needTim Smith2020-08-091-17/+14
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Move requires into collect methodsTim Smith2020-08-0910-15/+20
| | | | | | | | | | | | Avoid requiring these unless we actually run the plugin. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Gate more of the external requiresTim Smith2020-08-0936-38/+38
| | | | | | | | | | | | Decreases memory usage slightly Signed-off-by: Tim Smith <tsmith@chef.io>
| * Require net/http not net/https in softlayerTim Smith2020-08-091-1/+1
| | | | | | | | | | | | We actually only use net/http and this way we avoid requiring another file Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add stackprof to the gemfile for optimizationTim Smith2020-08-091-0/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Simplify load_additional methodTim Smith2020-08-091-2/+1
|/ | | | | | Avoid creating an object here Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.4.4 by Chef Expeditorv16.4.4Chef Expeditor2020-08-083-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1489 from chef/fix_fipsTim Smith2020-08-072-26/+9
|\ | | | | Simplify FIPS plugin and use system fips status
| * Simplify FIPS plugin and use system fips statusfix_fipsTim Smith2020-08-072-26/+9
| | | | | | | | | | | | Don't rely on fips being enabled by chef-config. Pull the system status instead. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.4.3 by Chef Expeditorv16.4.3Chef Expeditor2020-08-083-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1488 from chef/rubocop_Performance_RegexpMatchTim Smith2020-08-072-2/+3
|\ \ | |/ |/| Use match? instead of =~ when MatchData is not used
| * Make sure /proc/cmdline exists before reading itrubocop_Performance_RegexpMatchTim Smith2020-08-072-2/+3
| | | | | | | | | | | | Don't run match? against nil Signed-off-by: Tim Smith <tsmith@chef.io>
| * Use match? instead of =~ when MatchData is not usedTim Smith2020-08-071-1/+1
|/ | | | | | We don't need this data. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.4.2 by Chef Expeditorv16.4.2Chef Expeditor2020-08-043-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1485 from cooperlees/route_is_valid_default_route_afTim Smith2020-08-032-1/+18
|\ | | | | Add Address Family Check to route_is_valid_default_route?
| * Add Address Family Check to route_is_valid_default_route?Cooper Lees2020-07-292-1/+18
| | | | | | | | | | | | | | | | | | | | | | - We can now have IPv6 next hops for IPv4 routes in Linux - We don't have enough information to validate the route as valid if they are differen address families Test: - Add an rspec test to show it returning false like we'd hoped - Have also tested on Facebook servers internally Signed-off-by: Cooper Lees <me@cooperlees.com>
* | Bump version to 16.4.1 by Chef Expeditorv16.4.1Chef Expeditor2020-08-043-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1487 from chef/rubocop_Performance_DetectTim Smith2020-08-032-3/+3
|\ \ | | | | | | Use .find instead of .select.first
| * | Use .find instead of .select.firstrubocop_Performance_DetectTim Smith2020-08-032-3/+3
|/ / | | | | | | | | | | Avoid creating and object we don't need. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.4.0 by Chef Expeditorv16.4.0Chef Expeditor2020-08-033-4/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1486 from chef/lcg/faster-rubylang-pluginTim Smith2020-08-031-15/+4
|\ \ | |/ |/| Faster ruby language plugin
| * Faster ruby language pluginlcg/faster-rubylang-pluginLamont Granquist2020-08-031-15/+4
|/ | | | | | This drops two additional shell outs to run ruby. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update CHANGELOG.md to reflect the promotion of 16.3.2Chef Expeditor2020-07-291-12/+9
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.3.2 by Chef Expeditorv16.3.2Chef Expeditor2020-07-283-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1484 from chef/spellingTim Smith2020-07-2811-34/+46
|\ | | | | Spelling fixes
| * Spelling fixesspellingTim Smith2020-07-2811-34/+46
|/ | | | | | Pull in the latest rake task, fix some variable names, fix a few legit typos. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 16.3.1 by Chef Expeditorv16.3.1Chef Expeditor2020-07-243-4/+12
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1483 from chef/encodingTim Smith2020-07-241-1/+0
|\ | | | | Remove redundant file encoding in spec
| * Remove redundant file encoding in specencodingTim Smith2020-07-231-1/+0
| | | | | | | | | | | | In Ruby 2+ this is the default. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update CHANGELOG.md to reflect the promotion of 16.3.0Chef Expeditor2020-07-241-13/+10
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.3.0 by Chef Expeditorv16.3.0Chef Expeditor2020-07-243-5/+6
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1482 from chef/readmeTim Smith2020-07-231-7/+7
|\ | | | | Readme updates
| * Readme updatesreadmeTim Smith2020-07-231-7/+7
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.2.5 by Chef Expeditorv16.2.5Chef Expeditor2020-07-223-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1477 from cooperlees/handle_both_uintsTim Smith2020-07-221-1/+1
|\ \ | |/ |/| Handle IP to int conversion for inet + inet6
| * Move to @jaymzh .to_i suggestionCooper Lees2020-07-061-1/+1
| | | | | | | | Signed-off-by: Cooper Lees <me@cooperlees.com>
| * Fix bad copy paste + rerun rspec locallyCooper Lees2020-07-021-1/+1
| | | | | | | | Signed-off-by: Cooper Lees <me@cooperlees.com>
| * Go back to a one liner using .respond_to? rather than family == inetCooper Lees2020-07-021-8/+1
| | | | | | | | Signed-off-by: Cooper Lees <me@cooperlees.com>