(#21260) Add Cumulus Linux OS detection support
collapsed in a parsable symbol
Per pull request #453, don't match an array when a single OS string is matched
liberal regex
Spec for Cumulus Linux
Per Adrien feedback, an explicit check and return value
Merge pull request #1 from sergeyhush/master

Cumulus Linux RSpec additions
preserve agressive regex to match other setcodes, also explicit variable
(maint) Refactor hpux_spec.rb to reduce test redundancy

Prior to this commit tests for IP facts had significant duplication making it difficult to maintain in the event fixtures change or version support is added or dropped.

This commit consolidates the common features of the tests, making it easier to identify where maintenance should occur as fixtures change.
fix use C as default locale.

Currently facter sets only LANG environment variable, this does not
work on systems that have LC_ALL configured, because LC_ALL
have higher priority than LANG variable.

So the correct procedure is to configure LC_ALL=C instead of LANG=C.
change resolution_spec to test LC_ALL locale environment  var.
ip address fact that return full ifconfig output

On system with non english locale, the ip address fact return full ifconfig
output.
(refactor) Simplify ipaddress fact specs
(maint) Stub extraneous facts when testing ifconfig

If the higher weight ifconfig fact fails to resolve, Facter will try to
determine the IP address by resolving the hostname. When testing to
ensure that the ifconfig based resolution returns nil, the resolution
fact will be called and return an unexpected value. This commit stubs
the hostname fact when testing the ifconfig ipaddress resolution to
ensure the tests behave consistently.
Merge branch 'pull-476' into stable

This closes GH-476
Merge branch 'stable'
(maint) Handle Fedora as a proper Redhat variant

The refactor of the operatingsystem fact in ec2bac8 split up fact
resolution but removed the strict ordering of the resolution method.
Fedora has /etc/redhat-release present which caused the redhat fact to
take precedence, but the release string was not matched. The behavior of
the redhat fact defaults to `redhat` if no exact version was matched.
Since the fact was resolved, a lower resolution fact could not be used

This commit adds fedora as a recognized release string so the redhat
resolution behaves as expected.
Consolidate several queries for hw.physmem on BSD.
Merge pull request #502 from adrienthebo/maint-fedora_operatingsystem_fact

(maint) Handle Fedora as a proper Redhat variant
Merge pull request #503 from jasperla/physmem

Consolidate several queries for hw.physmem on BSD.