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.
Add XenServer test.
Update a facter build-requires for f17
(Maint) Fix Facter version to be 2.0.0-rc4

During the merge-up from 1.6.x I accidentally set the Facter version to
be 1.6.11 in the 2.x branch.  This is a problem because Puppet 3.x
currently requires Facter 2.x and fails hard if the version is
mis-reported.

This patch fixes the problem by setting the hard-coded version of
Facter.version to be 2.0.0-rc4 which is the last known explicitly set
version in the 2.x branch.
Merge branch 'fix/2.x/version_failures' into 2.x

* fix/2.x/version_failures:
  (Maint) Fix Facter version to be 2.0.0-rc4
Fixup redhat spec file for f17

This commit fixes up the redhat facter.spec file,
adding in some missing fedora 17 changes that were
probably lost in a merge-up. The os-dependent
definition of facter_libdir is replaced, and the
mandir file-listing is added. The last changelog
entry is removed, which is out of chronological
order (which prevents rpm building). It also removes
an errant conflict marker.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move packaging files to ext, rm conf

This commit moves packaging artifacts out
of the conf directory and into ext, and
removes the conf directory. The apple
rake task is updated for the new path.
conf is a strange directory for packaging
artifacts. ext seems saner.
Move tasks out of 'rake' subdirectory

It seems unnecessary for all the tasks to live
in a subdirectory, since its the only one and
doesn't accomplish anything as far as I can tell.
This commit also updates apple.rake task to
reference the new paths.
Replace rake/gempackagetask with rubygems/gempackagetask

This is per deprecation of the rake/gempackagetask.
Also remove deprecated has_rdoc in gem specification.
Add debian build artifacts to facter project

This commit takes the debian build artifacts
from facter-debian-packaging and places them
into facter proper. This is a substantial change
that allows us to stop maintaining the second
repository altogether. The debian changelog is
also moved to an erb file for automation, but
this can still be updated manually if desired.
gbp.conf is not carried over because debs are
build with pdebuild instead of git-build-package.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move facter redhat spec file to erb

This commit moves the facter.spec file to
and erb file that generates a facter.spec
file with appropriate versions etc using
rake tasks. It also removes a lingering
git merge conflict marker from a previous
merge.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>

Conflicts:

	ext/redhat/facter.spec.erb
Group requires together

This commit just groups the requires in the Rakefile
together for readability as well as removes the packaging
related tasks that will be handled by the packagin repo.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove obsolete tasks directory

This commit removes the tasks directory and its
contents, as the packaging-related tasks are to
be handled by the packagin repo, and the other
task are not, as far as I can tell, used anymore.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #293 from MosesMendoza/maint/2.x/fixup_spec_file

Fixup redhat spec file for f17
Shift to using packaging repo

This commit adds build_defaults.yaml and
project_defaults.yaml files and moves packing data
into these for use with the packaging repo. It
removes packaging-related tasks from the main
Rakefile as well, these are to be handled to the
packaging repo.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>

Conflicts:

	Rakefile
Fixup redhat spec erb template for f17

This commit fixes up the redhat facter.spec file,
adding in some missing fedora 17 changes that were
probably lost in a merge-up. The os-dependent
definition of facter_libdir is replaced, and the
mandir file-listing is added.
It also removes an errant conflict marker.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Update debhelper compat to 7, add format