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

Add FreeBSD memory facts #2020

Merged
merged 4 commits into from
Aug 11, 2020
Merged

Conversation

smortex
Copy link
Contributor

@smortex smortex commented Aug 10, 2020

Collect system and swap memory information on FreeBSD

🎁 @igalic

The memory facts where not provided by Facter 4. With this PR, Facter returns the same facts as Facter 3 does.

@smortex smortex requested review from a team August 10, 2020 23:00
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@smortex smortex force-pushed the add-freebsd-memory-facts branch from dded107 to 23b2c8e Compare August 10, 2020 23:10
@smortex smortex force-pushed the add-freebsd-memory-facts branch from 23b2c8e to 733e5ca Compare August 10, 2020 23:14
@smortex smortex changed the title (maint) Add FreeBSD memory facts Add FreeBSD memory facts Aug 11, 2020
@oanatmaria oanatmaria added the enhancement New feature or enhancement label Aug 11, 2020
Copy link

@igalic igalic left a comment

Choose a reason for hiding this comment

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

🙋🏻‍♀️

lib/facter/resolvers/freebsd/system_memory_resolver.rb Outdated Show resolved Hide resolved
lib/facter/resolvers/freebsd/system_memory_resolver.rb Outdated Show resolved Hide resolved
.rubocop_todo.yml Outdated Show resolved Hide resolved
@puppetcla
Copy link

CLA signed by all contributors.

@smortex
Copy link
Contributor Author

smortex commented Aug 11, 2020

@IrimieBogdan I added a commit that fix the issues you listed, thank you for catching them, I mostly copied the Solaris facts which mix old and new style specs. Should these be updated too (I mean in this PR, or do we keep the focus on FreeBSD memory facts here)?

@smortex smortex requested a review from BogdanIrimie August 11, 2020 18:26
@igalic
Copy link

igalic commented Aug 11, 2020

let's clean up solaris tests in a next round

@smortex smortex force-pushed the add-freebsd-memory-facts branch from eef6301 to 40e14ab Compare August 11, 2020 18:43
@oanatmaria oanatmaria merged commit e6cf859 into puppetlabs:4.x Aug 11, 2020
@smortex smortex deleted the add-freebsd-memory-facts branch August 11, 2020 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants