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

Refactor systemd facts #12

Merged
merged 1 commit into from
Aug 24, 2016
Merged

Conversation

petems
Copy link
Member

@petems petems commented Aug 23, 2016

  • Use Facter::Util::Resolution.exec, which is backwards compatible with older Facter, calls the same method in modern facter
  • Adds basic unit testing for facts

@raphink
Copy link
Member

raphink commented Aug 23, 2016

Looks good, but the tests don't pass.

@petems
Copy link
Member Author

petems commented Aug 23, 2016

Bah, forgot to mock out the native call from the machine, didn't notice on my machine because it's a mac!

Fixing now

@raphink
Copy link
Member

raphink commented Aug 23, 2016

OK great.

* Use `Facter::Util::Resolution.exec`, which is backwards compatible with older Facter, calls the same method in modern facter
* Adds basic unit testing for facts
@petems
Copy link
Member Author

petems commented Aug 24, 2016

@raphink Ok to merge? 👍

@raphink raphink merged commit b2f44d4 into voxpupuli:master Aug 24, 2016
@raphink
Copy link
Member

raphink commented Aug 24, 2016

Yes, thank you.

@raphink raphink added the enhancement New feature or request label Aug 21, 2020
op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants