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

WIP: Adds the 'root_user' Ohai attribute. #624

Closed
wants to merge 1 commit into from

Conversation

johnbellone
Copy link
Contributor

This abstracts out the root user information just as the root group
information is. It makes the appropriate name available via the
root_user attribute.

This abstracts out the root user information just as the root group
information is. It makes the appropriate name available via the
root_user attribute.
@johnbellone johnbellone changed the title Adds the 'root_user' Ohai attribute. WIP: Adds the 'root_user' Ohai attribute. Sep 24, 2015
end

describe 'with windows platform' do
it 'should return the user system' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to stub ::RbConfig::CONFIG['host_os'] to return the platform string you'd expect. Otherwise, this spec will always fail on non-Windows systems (and the other check will always fail on Windows).

@thommay
Copy link
Contributor

thommay commented Jan 19, 2016

superseded by #698

@thommay thommay closed this Jan 19, 2016
@chef chef locked and limited conversation to collaborators Nov 16, 2017
@tas50 tas50 added Triage: Needs Information Indicates an issue needs more information in order to work on it. and removed Status: Pending Contributor Response labels Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Triage: Needs Information Indicates an issue needs more information in order to work on it. Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants