summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fully remove support for HP-UXhpux_removalTim Smith2019-01-236-86/+2
| | | | | | There hasn't been a working Ruby release for HP-UX for many years. We shouldn't continue to execute this logic and ship it around to all our customers when it's not possible that any of them are running HP-UX. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.0.26 by Chef Expeditorv15.0.26Chef Expeditor2018-12-313-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1333 from chef/remove_v6_plugin_structTim Smith2018-12-312-49/+34
|\ | | | | Remove V6 plugin Struct to reduce memory consumption
| * Remove V6 plugin Structremove_v6_plugin_structTim Smith2018-12-222-49/+34
|/ | | | | | We built a struct to track plugin file location because we needed both the file and the directory containing the file. We don't need that data anymore with V7 plugins. Instead we can just grab a list of files and then load each of the classes. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.0.25 by Chef Expeditorv15.0.25Chef Expeditor2018-12-053-5/+6
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #1283 from heyjodom/xcp-ng_supportTim Smith2018-12-051-1/+4
|\ | | | | Add support for XCP-ng platform
| * Revert "Move xcp platform_family to fedora"Justin Odom2018-12-051-2/+2
| | | | | | | | | | | | This reverts commit f3ebf27cd2fbf07116afac39dd2fef252d239111. Move xcp support back to RHEL.
| * Move xcp platform_family to fedoraJustin Odom2018-11-011-2/+2
| | | | | | | | Signed-off-by: Justin Odom <jodom@tripadvisor.com>
| * Add support for XCP-ngJustin Odom2018-10-291-1/+4
| | | | | | | | Signed-off-by: Justin Odom <jodom@tripadvisor.com>
* | Bump version to 15.0.24 by Chef Expeditorv15.0.24Chef Expeditor2018-12-053-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1317 from chef/virtTim Smith2018-12-0511-575/+215
|\ \ | | | | | | Unify virtualization detection on a single helper
| * | Only uninstall bundler on Ruby 2.5Tim Smith2018-12-051-7/+7
| | | | | | | | | | | | | | | | | | Bundler is built into 2.6 Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix the Windows specsTim Smith2018-12-052-17/+18
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fixup solaris specsTim Smith2018-12-053-50/+11
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Update *nix specsTim Smith2018-12-053-217/+81
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Unify virtualization detection on a single helperTim Smith2018-12-057-340/+154
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've always detected virtualzation on *nix using dmidecode data. A few years ago I unified this with the dmi_decode helper. It parsed out the text of the dmidecode command. This greatly improved detection on BSD and Solaris, but there was more that could be done. With this change we're now passing in the manufacturer, product, and version data from the dmi data. On the *nix side we'll use the dmi plugins data which has already been split out nicely and doesn't need to be fetched or parsed again. On the windows side we can actually get this data via WMI pretty easily. The field names are different, but under the hood it's just DMI data. This way if we accept a PR from a windows, solaris, bsd, or linux user we get improves on all the other platforms. Note: This also removes PCI based Parallels detection on Linux since we're doing it in a more efficient way with DMI data now on Linux. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.0.23 by Chef Expeditorv15.0.23Chef Expeditor2018-12-053-5/+6
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #1300 from chef/new_rubyTim Smith2018-12-0525-412/+297
|\ \ | | | | | | Require Ruby 2.5 or later
| * | Remove unnecessary Ruby 2.4 FIPS detectionnew_rubyTim Smith2018-11-241-9/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Run the windows fips spec everywhereTim Smith2018-11-241-1/+1
| | | | | | | | | | | | | | | | | | It's not windows bound now Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Remove the Ruby < 2.5 logic from the FIPS pluginsTim Smith2018-11-243-130/+20
| | | | | | | | | | | | | | | | | | So much to delete here. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Bump Rubocop to the 2.5 engineTim Smith2018-11-241-2/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Require Ruby 2.5 or laterTim Smith2018-11-2422-273/+273
| | | | | | | | | | | | | | | | | | | | | | | | As we do every year Ohai 15 will drop support for the N-2 support of Ruby. In the ~5 weeks Ruby 2.6 comes out so by the time we release this new version of Ohai N-2 will be Ruby 2.4. Also while we're at it get rid of the begins in rescue blocks. Ruby 2.5 doesn't require this and it's on the path to ruby throwing errors eventually. It's a Ruby < 2.4-ism. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.0.22 by Chef Expeditorv15.0.22Chef Expeditor2018-12-053-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #1322 from chef/sled_round_2Tim Smith2018-12-052-8/+2
|\ \ \ | | | | | | | | Back out SLES -> SUSE remapping and instead fix the platform_family
| * | | Make SLED be part of the suse platform_familysled_round_2Tim Smith2018-12-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | SUSE Linux Enterprise Desktop is SLES with a UI. It's SUSE platform_family. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Don't remap SLED to SUSETim Smith2018-12-042-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | I think this was actually the wrong thing to do. We previously detected it as SLED and I think that's actually the right call. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.21 by Chef Expeditorv15.0.21Chef Expeditor2018-12-053-5/+6
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #1321 from chef/readmeTim Smith2018-12-051-2/+2
|\ \ \ \ | |/ / / |/| | | Don't ship the readme with ohai
| * | | Don't ship the readme with ohaiTim Smith2018-12-041-2/+2
|/ / / | | | | | | | | | | | | | | | There's no need for the readme in our gem artifact. This also sets the github repo as the website so people clicking the link on rubygems hit our repo. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 15.0.20 by Chef Expeditorv15.0.20Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #1320 from chef/antergosTim Smith2018-12-032-9/+9
|\ \ \ | | | | | | | | Add support for antergos linux and fix opensuseleap platform_family
| * | | Add support for antergos linux and fix opensuseleap platform_familyTim Smith2018-11-302-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add antergos linux, which is based on Arch https://github.com/chef/os_release/blob/master/antergos In the refactor opensuseleap platform_family logic was lost and there was a missing test. I've added back the logic and the test.= Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.19 by Chef Expeditorv15.0.19Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #1313 from chef/sles_sapTim Smith2018-12-032-0/+6
|\ \ \ \ | | | | | | | | | | platform: Identify sles_sap as the suse platform
| * | | | platform: Identify sles_sap as the suse platformTim Smith2018-12-032-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm fairly certain this was broken with our previous logic. Thanks @kmf for adding this to our os_release repo https://github.com/chef/os_release/blob/master/sles_sap_12_2 Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 15.0.18 by Chef Expeditorv15.0.18Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #1319 from chef/bsd_virtualizationTim Smith2018-12-032-87/+80
|\ \ \ \ \ | | | | | | | | | | | | bsd virtualization: Detect amazonec2 hypervisor + kvm without dmidecode
| * | | | | bsd virtualization: Detect amazonec2 hypervisor + kvm without dmidecodebsd_virtualizationTim Smith2018-11-292-87/+80
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor a chunk of code. There's no need to split the sysctl output since it's just a single line. There's also a ton of repetition in how we detect guests from sysctl kernel data. Add KVM and amazonec2 detection there. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 15.0.17 by Chef Expeditorv15.0.17Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #1312 from chef/fix_aristaTim Smith2018-12-032-5/+7
|\ \ \ \ \ | |_|/ / / |/| | | | Fix arista platform detection
| * | | | Fix arista detectionfix_aristaTim Smith2018-11-282-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern arista systems include not only /etc/Eos-release, but also /etc/redhat-release and /etc/system-release. Due to the order we did detection with this meant we read /etc/redhat-release first and identified arista as being fedora. Correct the order and wire things up in a way that will fail if we try to refactor the code back in the future. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 15.0.16 by Chef Expeditorv15.0.16Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #1314 from chef/sledTim Smith2018-12-032-0/+13
|\ \ \ \ \ | | | | | | | | | | | | Add support for SUSE Linux Enterprise Desktop
| * | | | | Add support for SUSE Linux Enterprise DesktopsledTim Smith2018-11-282-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has its own OS ID Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Bump version to 15.0.15 by Chef Expeditorv15.0.15Chef Expeditor2018-12-033-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | | Merge pull request #1316 from chef/mangeiaTim Smith2018-12-032-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add mangeia platform with madriva platform_family
| * | | | | | Add mangeia platform with madriva platform_familymangeiaTim Smith2018-11-282-0/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mangeia is a popular OS in France. It's a fork of Mandriva which went out of business. There's a few other forks of mandriva so that should probably be the platform_family. It even identifies that as being similar in the os-release file. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | Bump version to 15.0.14 by Chef Expeditorv15.0.14Chef Expeditor2018-11-303-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | | Merge pull request #1309 from chef/nested_virtTim Smith2018-11-301-0/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Linux Virtualization: Use the new nests `systems` format for lxd / lxc