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

Add support for parallels & virtuozzo linux #166

Merged
merged 1 commit into from
Dec 14, 2016

Conversation

jaxxstorm
Copy link

Both parallels and virtuozzo linux are redhat derivatives and their suite of operating systems (virtuozzo linux, parallels cloud server etc) aren't detected correctly at the moment. Adding their OS to the REDHAT_FAMILY constant seems to get that fixed up

Before:

inspec shell -c 'os.params'
{:name=>"virtuozzo", :family=>"virtuozzo", :release=>"7.0.0", :arch=>"x86_64"}
inspec exec test.rb

Target:  local://


  Port 22
     ↺  The `port` resource is not supported on your OS yet.

Test Summary: 0 successful, 0 failures, 1 skipped

After:

inspec shell -c 'os.params'
{:name=>"virtuozzo", :family=>"redhat", :release=>"7.0.0", :arch=>"x86_64"}
Target:  local://


  Port 22
     ✔  should be listening

Test Summary: 1 successful, 0 failures, 0 skipped

Both parallels and virtuozzo linux are redhat derivatives
and their suite of operating systems (virtuozzo linux,
parallels cloud server etc) aren't detected correctly
at the moment. Adding their OS to the REDHAT_FAMILY
contstant seems to get that fixed up

Signed-off-by: Lee Briggs <lbriggs@apptio.com>
@chris-rock
Copy link
Contributor

Thank you for adding this @jaxxstorm

@chris-rock chris-rock merged commit aa0e0e9 into inspec:master Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants