-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The detection of Parallels virtualization added. #557
Conversation
|
||
describe Ohai::System, "Darwin virtualization platform" do | ||
before(:each) do | ||
@plugin = get_plugin("darwin/virtualization") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We prefer to use :let
instead of instance variables in before(:each)
blocks. Check out the "Use let and let!" subsection of Better Specs.
Looks good @Kasen ! Only thing missing is a windows virtualization spec. Are you up for writing that? If not, I can help out. |
@mcquin I think I fixed what you asked for |
LGTM 👍 Big thanks for adding a Windows virt plugin spec.
|
@thommay, review please |
Thanks for your contribution! I've no way of testing this but the code looks good, merging. |
The detection of Parallels virtualization added.
Parallels Desktop is product for desktop virtualization for Mac such as VMware fusion.
This PR adds the support of detection Parallels Desktop as host system on Mac and as guest system on Mac, Windows and Linux.