| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Remove circa ~2005 virtualization hypervisor detection
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes support for the following legacy virtualization hypervisors that were based on the VirtualPC tech that Microsoft bought from Connectix and then rebranded. It never worked on Windows 2008 / 7 or later. It's just dead tech that no one is using at this point.
See for release details:
https://en.wikipedia.org/wiki/Microsoft_Virtual_Server
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| |/
|/| |
Remove old spec files
|
| |
| |
| |
| |
| |
| | |
These are unused and add 10k to the gem size.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Ressl Robert <r.ressl@safematix.com>
|
| |
| |
| |
| |
| |
| | |
the host
Signed-off-by: Ressl Robert <r.ressl@safematix.com>
|
|/
|
|
| |
Signed-off-by: Ressl Robert <r.ressl@safematix.com>
|
|
|
|
| |
This reverts commit 63f35470d70930b3d98acb7058d4584178f98246.
|
|
|
|
|
|
| |
So much to delete here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
|
|
|
|
|
|
| |
We don't run this via Ohai or Chef anymore.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This has been replaced by the hardware plugin on macOS.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This was a mistake when we introduced it. The system self identifies as SLES, but we need to make that suse to align with SLES 11/12 detection in Ohai.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
[filesystem] Convert rest of unix to fs2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This PR [almost] finishes the implementing support for the "filesystem2"
format for the rest of the platforms that were never converted -
everything except Windows which will be in a follow-up PR.
Here's some other cleanup along hte way:
* Fix the fact that "allow_partial_data" only worked on Linux. Oops.
* Add helper for "allow_partial_data" stuff so that "allow_partial_data"
support was easy to be consistent about
* Always get all ZFS options, no reason not to provide all data
* Change the way zfs options are laid out. The existing way separates
everything into two hashes that need be correlated by the user and
doesn't seem to make much sense.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|\ \
| | |
| | | |
Unify the cpu plugin
|
| |/
| |
| |
| |
| |
| |
| | |
Utilize the Ohai 7 syntax to keep the code for all these variations of
the plugin in the same place and consistent.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|/
|
|
|
|
|
| |
Utilize the Ohai 7 syntax to keep the code for all these variations of
the plugin in the same place and consistent.
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|
|
|
|
|
|
|
|
|
| |
While it works fine for me @bdausses was seeing chef-client hang
forever. It turns out running sysctl -a on his host was causing the
system to hang. Besides this crash it actually takes about 2x longer to
gather the additional data. This shaves a whole 0.033255 seconds from
the total runtime.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Fix root_group plugin invalid byte sequence on non-English version of Windows
|
| |
| |
| |
| | |
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
|
|\ \
| | |
| | | |
override timout by Ohai::Config.ohai[:openstack_metadata_timeout]
|
| | |
| | |
| | |
| | | |
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
|
| |/
| |
| |
| | |
Signed-off-by: sawanoboly <sawanoboriyu@higanworks.com>
|
|/
|
|
|
|
|
|
|
|
| |
- Changes to fetch Encryption Status of a volume using GetConversionStatus method of Win32_EncryptableVolume class
- Handle wmi exceptions when a namespace or class is not accessible
- Added test cases
- Minor code fixes and cleanup
- Fixes MSYS-894
Signed-off-by: Nimesh <nimesh.patni@msystechnologies.com>
|
|
|
|
|
|
| |
Simple fix for now that unbreaks the linux network plugin.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Minor fix to select default_interface based on the least metric value
- Fix to prefer default_fateway in IPV4 Format
- DRY-UP to get interface_code
- Commented as per YARD format
- Added test cases
- Fixes: MSYS-875
Signed-off-by: Nimesh <nimesh.patni@msystechnologies.com>
|
|
|
|
|
|
| |
Make sure it's an array before we .each it and add a spec that passes it as a string
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If we happen to load a plugin with the same name twice, we refuse to run #collect_data but we still
load the rest of the plugin, which means you get #collect_data from the first plugin and rest of the
plugin from the last plugin.
This makes it so you get #collect_data from the last plugin as well.
I don't know how to use the logger from the class method so I fell back to `Ohai::Log`. Happy to fix that
if someone knows the magic.
Fixes #1212
Signed-off-by: Bryan McLellan <btm@chef.io>
|
|\
| |
| | |
Add system_enclosure plugin for Windows
|
| |
| |
| |
| | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|\ \
| | |
| | | |
Properly detect Amazon Linux 2 final release platform version
|
| |/
| |
| |
| |
| |
| | |
Past and current string tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
| |
Also alters the test to reveal the exact nature of the issue.
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We never converted anything other than mac or linux because we're clowny, and
now BSD and other Unixes has a totally different API than Mac and Linux.
This creates a single plugin so they can leverage the helper classes, and moves
mac, linux and BSD into it, and adds full support for BSD.
This starts to fix #1180
Signed-off-by: Phil Dibowitz <phil@ipom.com>
|
|\
| |
| | |
Make the DMI IDs we whitelist configurable
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
A lot of people want their OEM / IPMI dmi data. It’s super handy to have.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Make the shard plugin work under FIPS by using SHA2 instead of MD5
|
| | |
| | |
| | | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | |
| | |
| | |
| | |
| | | |
on Windows.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | |
| | |
| | |
| | |
| | | |
This makes things work basically the same on all platforms, as much as possible.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|