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

(MODULES-5778) Set operatingsystem fact in specs #104

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Oct 26, 2017

Most of the User providers confine based on the operatingsystem fact,
so this needs to be set in order for rspec-puppet to properly fake out
the platform.

Long term, it would be best to convert this module's tests over to using
rspec-puppet-facts & facterdb, that way you don't need to worry about
which facts you need to set as you'll get a full set for each supported
OS.

/cc @willmeek @eputnam

Most of the User providers confine based on the `operatingsystem` fact,
so this needs to be set in order for rspec-puppet to properly fake out
the platform.

Long term, it would be best to convert this module's tests over to using
rspec-puppet-facts & facterdb, that way you don't need to worry about
which facts you need to set as you'll get a full set for each supported
OS.
@eputnam eputnam merged commit 431c149 into puppetlabs:master Oct 26, 2017
@rodjek rodjek deleted the modules-5778 branch October 27, 2017 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants