I've implemented support for DragonFly BSD.
I'd love to see it included in the distribution.
Joachim de Groot
In order to get this merged, we need to you to sign our Contributor License Agreement so that we can include your code. Have you made an account on projects.puppetlabs.com and signed the agreement?
Yes, see https://projects.puppetlabs.com/users/2931
Excellent, thanks for verifying that. Since this was submitted before we were using pull requests, there's been a bit of drift since this pull request was made. Would you be willing to rebase this on top of master so it will merge cleanly?
Fixed the ps fact on DragonFly BSD.
Determine IP address on DragonFly using ifconfig.
Enable the mac address fact on DragonFly.
Implemented memory and swap facts for DragonFly.
Added DragonFly BSD to hardwareisa.rb
Enabled IP facts for DragonFly BSD.
Enable the netmask fact for DragonFly BSD.
Added the processor fact for DragonFly BSD.
De-clumsify CPU count detection on OpenBSD.
Fix swap facts on OpenBSD.
Removed rebase remains.
Here you are.
Unfortunately I had to fiddle so much that my elaborate comment on 7e2b216 got lost. But to sum up the quintessence: swap space calculation is currently broken on OpenBSD as the sum line is taken into account on machines with multiple swap devices.
Redmine ticket is:
Hi Joachim de Groot ... I've added some more to this work - tests and other cleanup. So I'm closing this request and new pull request is here:
This adds more tests, cleans up some code, adds the ticket number to your commits - but I've kept your commits as they are otherwise.
I tested this on DragonFly and OpenBSD and it seems to be good. Thanks for your hard work mate :-).