Closed nmaludy closed 4 years ago
@nmaludy this is awesome work, thank you very much!!
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.
@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 Optional[]
around the $file
and $facts_dir
so we can fall back to using $facter::facts_file
and $facter::facts_d_dir
. Is that OK?
This is another PR to add support for Windows. Hopefully this is more concise than the others.
TODO
null
values forfacter::facts_d_mode
in the Windows data actually performs the Hiera lookup correctly.NT AUTHORITY\SYSTEM
sets the proper user/group.