-
Notifications
You must be signed in to change notification settings - Fork 23
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
Adding support for Windows #67
Conversation
|
@nmaludy this is awesome work, thank you very much!! |
…mped stdlib fixtures to our minimum version
… for string. Fixed a few linting errors in manifests
|
OK, i got Travis to the point where it's passing linting and running the spec tests. Most of the specs are failing currently. I'll fix those next. |
| - parameter_tests/%{parameter_tests} | ||
| version: 5 | ||
| defaults: | ||
| datadir: data # This path is relative to hiera.yaml's directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this keep it from using the data in fixtures which is the point of this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, sorry the spec tests are configured to use this spec/fixtures/hiera/hiera.yaml and the datadir is relative to that file's directory, so it uses: spec/fixtures/hiera/data. Does that make sense? Sorry for the confusing wording.
|
@ghoneycutt got tests written, the only one that is failing is https://github.com/ghoneycutt/puppet-module-facter/pull/67/files#diff-279972940b2611b2c7a177c5e1344902R133-R136 I think we do need the |
… default lookup for windows
This is another PR to add support for Windows. Hopefully this is more concise than the others.
TODO
nullvalues forfacter::facts_d_modein the Windows data actually performs the Hiera lookup correctly.NT AUTHORITY\SYSTEMsets the proper user/group.