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

Update salts.rb to work on Windows #76

Closed
wants to merge 1 commit into from
Closed

Update salts.rb to work on Windows #76

wants to merge 1 commit into from

Conversation

mark-it-kracht
Copy link

No description provided.

@mark-it-kracht
Copy link
Author

See issue #75

Gem::Version.new(version) >= Gem::Version.new('2.0.0')
end
# read
shadow = Facter::Util::Resolution.exec('cat /etc/shadow')
Copy link
Owner

Choose a reason for hiding this comment

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

Could you move these lines into the setcode do ... end block? confine :kernel => "Linux" should ensure that the fact is not evaluated on Windows.

@deric
Copy link
Owner

deric commented Mar 28, 2017

Closing in favor of #79.

@deric deric closed this Mar 28, 2017
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.

None yet

2 participants