Skip to content
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

Merged
merged 4 commits into from
Jun 24, 2015
Merged

Conversation

Kasen
Copy link

@Kasen Kasen commented Jun 17, 2015

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.

@Kasen
Copy link
Author

Kasen commented Jun 22, 2015

@mcquin @thommay, guys, review please.


describe Ohai::System, "Darwin virtualization platform" do
before(:each) do
@plugin = get_plugin("darwin/virtualization")
Copy link
Contributor

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.

@mcquin
Copy link
Contributor

mcquin commented Jun 22, 2015

Looks good @Kasen ! Only thing missing is a windows virtualization spec. Are you up for writing that? If not, I can help out.

@Kasen
Copy link
Author

Kasen commented Jun 23, 2015

@mcquin I think I fixed what you asked for

@mcquin
Copy link
Contributor

mcquin commented Jun 23, 2015

LGTM 👍

Big thanks for adding a Windows virt plugin spec.
On Jun 23, 2015 4:41 AM, "Pavel Yudin" notifications@github.com wrote:

@mcquin https://github.com/mcquin I think I fixed what you asked for


Reply to this email directly or view it on GitHub
#557 (comment).

@Kasen
Copy link
Author

Kasen commented Jun 24, 2015

@thommay, review please

@thommay
Copy link
Contributor

thommay commented Jun 24, 2015

Thanks for your contribution! I've no way of testing this but the code looks good, merging.

thommay added a commit that referenced this pull request Jun 24, 2015
The detection of Parallels virtualization added.
@thommay thommay merged commit 85e6054 into chef:master Jun 24, 2015
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants