Merge branch '2.0rc'

* 2.0rc:
  (#14582) Fix noise in LSB facts
  Update CHANGELOG, conf/redhat/facter.spec for 1.6.9
  Update CHANGELOG, conf/redhat/facter.spec for 2.0.0rc2
  (#14521) Ensure install propagates licenses
  (#14521) Ensure install only strips leading lib dir
  Updating CHANGELOG, conf/redhat/facter.spec for 2.0.0rc1 release.
Merge branch '2.0.x'

* 2.0.x:
  Use git describe in Rakefile to determine pkg ver
  (#14466) Fix style issues
  (14466) Warn when no facts found
Merge branch '2.0.x'

* 2.0.x:
  Make package task depend on tar in Rakfile
  (#14764) Stub architecture fact when Windows facts run on Linux
  (maint) Fix hardware model fact for ruby 1.9
  (#12864) Close registry key
  Revert "Revert "(#12864) Windows: get primary DNS from registry""
  (#10261) Detect x64 architecture on Windows
  Update CHANGELOG, conf/redhat/facter.spec for 2.0.0rc3
  (#13678) Remove deprecation msg triggerd by the ipaddress6 fact
  (#13678) Add filename extension on absolute paths on windows
  (#13678) Allow passing shell built-ins to exec method on windows
  (#13678) Single quote paths on unix with spaces
  (#13678) Join PATHs correctly on windows
  (#13678) Extend spec tests for expand_command
  maint: Add shared context for specs to imitate windows or posix
  (#13678) Fix spec failures on windows
  (#13678) Fix quoting in expand_command
  (#13678) Add more unit tests for new methods
  (#13678) Add RDoc documentation for new methods
  (#13678) Convert command to absolute paths before executing
Merge pull request #224 from jeffweiss/ticket/2.x/14689_fix_ssh_fact_for_hpux

(#14689) fix ssh fact for hpux
Merge branch '2.x'

* 2.x:
  (#13047) Add tests for GNU/kFreeBSD
  (#13049) Add tests for GNU/kFreeBSD
  (#14700) Fix kernel spec on Windows
  (#14700) Fix kernel version spec
  (#14700) Fix whitespace and spelling issues
  Allow zfs_version to work on FreeBSD as well as Solaris.
  Make zpool_version work on FreeBSD kernels as well.
  (#14690) Fix style issues
  (#8923) Add real Solaris output to specs
  (#14700) Add tests for kernel facts (#14700) Add tests for kernel facts
  (#8963) Test for Solaris memory & swap facts
  (#8963) Fix swap fact failure on SunOS if no swap
  Update CHANGELOG, conf/redhat/facter.spec for 2.0.0rc4
  (#14690) Remove preceding letters from HP-UX release kernel
  uname prints a version like "B.11.23" on HP-UX. Delete the first two characters.
Merge branch '2.x'
Update version nos to match Facter development

Minor documentation fixup to clarify version numbering
as the original was Puppet centric rather than Factor.
Merge pull request #262 from Elwell/doctweaks

Update version nos to match Facter development
Delete the "ARP" facts, which are pathologically bad.

The "ARP" facts are pretty awesome, really, except for a tiny handful of
little things that could do with improvement.

For example, they are not really about ARP, they are about detecting if the
current node is an EC2 node or not.  So, the name is kind of wrong.

They depend on the fact that the EC2 happened to communicate with a particular
EC2 metadata service first, before doing anything else, because they just
return the first entry in the ARP table attached to an interface.

They are also not used anywhere in our core - even the other facts that used
to use them stopped, or duplicated their functionality.

All in all, they can go: they have so much wrong with them that saving them is
kind of crazy.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
Delete Linux-only `get_arp_value` helper.

This was only ever implemented for Linux, and only to support the ARP facts
that were all about detecting if we are EC2 or not.

It also kind of sucks, because by "get ARP value" it means "get the first ARP
entry tied to an interface, because picking some random value based on the
oldest machine you communicated with that hasn't fallen out of the cache yet."

If someone actually comes up with a use for this data (eg: some random ARP
value based on previous network behaviour of other tools we run) then I
suppose they can reintroduce it - but, honestly, I can't imagine why.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>
Add XenServer to operatingsystem for #5255.
Further tweaks for XenServer.
Merge branch '2.x'
Add XenServer test.
Merge branch '2.x'

* 2.x:
  (#15514) Add compatibility with change to operatingsystem fact
  (#15687) Selinux: Test for policyvers before reading it
  Modify this to handle Solaris a little better, via the use of uname -v.
  Add OpenIndiana to operatingsystem and osfamily, as well as check /etc/release for Solaris rather than just falling back to it.
  Update version nos to match Facter development
  Update other facts to use osfamily instead of operatingsystem
  Fixes behaviour change if /etc/release does not exist.
  Add new distros to Solaris family
  Add support for distingushing which Solaris
Merge remote-tracking branch 'upstream/2.x'

* upstream/2.x:
  (Maint) Update CONTRIBUTING.md to match Puppet
Update CHANGELOG, lib/facter.rb, conf/redhat/facter.spec for 1.6.11rc1
Add build-requires of ruby-rdoc for manpage generation

Without a BuildRequires of ruby-rdoc, if we remove the --no-rdoc flag from
install.rb, the manpages will still not be generated, which will cause the
build to fail, because the %files section lists manpages. Adding a
BuildRequires of ruby-rdoc and removing the --no-rdoc flag from install.rb will
allow manpage generation for packaging.
Merge pull request #283 from haus/maint/1.6.x/fix_facter_man_generation

Add build-requires of ruby-rdoc for manpage generation
(#11640) Added support for new OpenStack MAC addresses

OpenStack changed the MAC address prefix they use to address an issues with libvirt

OpenStack bug: https://bugs.launchpad.net/nova/+bug/921838