(#17521) Add osfamily fact ArchLinux#352
(#17521) Add osfamily fact ArchLinux#352aboe76 wants to merge 1 commit intopuppetlabs:masterfrom aboe76:osfamily_archlinux
Conversation
|
@aboe76 is there a specific need for an It would be great if you can squash your two commits and name your commit |
|
Updated the pull request, with extra nformation on why archlinux needs an osfamily. |
|
@aboe76 Sorry if I wasn't clear but I meant to actually change the commit message not the pull request information (which is only seen in github, but will not appear in the commit history). To be more exact you should be able to do Now you should see an editor with your commits in it. Now squash them all together. This may look like this: If you leave the editor you can now update the commit message as I suggested earlier. You should end up with a single commit. You'll then have to do a git push --force to update your branch. The pull request will automatically be updated. This seems like a lot of hassle but I'm trying to preserve the information that you are the author of the change and at the same time get a commit message that is compliant with the projects guidelines. |
modified: lib/facter/osfamily.rb
|
Ok done, it is no problem, learning git in this way |
|
@aboe76 the commit itself looks good now while I think the commit message itself could be improved (it currently only says which file was modified - git can already tell me this if I am interested - and not the intention of the change) but I don't want to be nit-picky. However if you have rspec and mocha installed you'll notice that your change produces a failing test now when running There are two options now:
|
|
Haven't played with spec testing so if you can do it for me that will be
|
|
merged into 2.x: commit: 1bf8ddf |
* (FACT-2444) Added alias for bios release date on Debian * (FACT-2444) Added alias for bios version and vendor on Debian * (FACT-2444) Added alias for board manufacturer, product and serial_number on Debian * (FACT-2444) Added aliases for ruby, processors, memory facts on Debian * (FACT-2444) Added aliases for system_uptime facts on Debian * (FACT-2444) Extracted the mb converter to a separate facts util. * (FACT-2444) Added unit tests for when memory resolver returns nil. Co-authored-by: Andrei Filipovici <andrei.filipovici@andreis-mbp.eth.tsr.corp.puppet.net>
Archlinux doesn't have a osfamily fact.
I believe Archlinux needs one because of the following:
And because it is 7th with Distrowatch.
It has puppet 3.0.1 and facter 1.6.14 in it Archlinux User Repo:
https://aur.archlinux.org/packages/puppet
https://aur.archlinux.org/packages/facter/