| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Remove V6 plugin Struct to reduce memory consumption
|
|/
|
|
|
|
| |
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>
|
|
|
|
| |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\
| |
| | |
Add support for XCP-ng platform
|
| |
| |
| |
| |
| |
| | |
This reverts commit f3ebf27cd2fbf07116afac39dd2fef252d239111.
Move xcp support back to RHEL.
|
| |
| |
| |
| | |
Signed-off-by: Justin Odom <jodom@tripadvisor.com>
|
| |
| |
| |
| | |
Signed-off-by: Justin Odom <jodom@tripadvisor.com>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Unify virtualization detection on a single helper
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bundler is built into 2.6
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \
| | |
| | | |
Require Ruby 2.5 or later
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's not windows bound now
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
So much to delete here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
Back out SLES -> SUSE remapping and instead fix the platform_family
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SUSE Linux Enterprise Desktop is SLES with a UI. It's SUSE platform_family.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \
| |/ / /
|/| | | |
Don't ship the readme with ohai
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \
| | | |
| | | | |
Add support for antergos linux and fix opensuseleap platform_family
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \
| | | | |
| | | | | |
platform: Identify sles_sap as the suse platform
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
bsd virtualization: Detect amazonec2 hypervisor + kvm without dmidecode
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Fix arista platform detection
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add support for SUSE Linux Enterprise Desktop
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This has its own OS ID
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add mangeia platform with madriva platform_family
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Obvious fix; these changes are the result of automation not creative thinking.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Linux Virtualization: Use the new nests `systems` format for lxd / lxc
|