Update lib/facter.rb, CHANGELOG, facter.spec for 1.6.10rc1
Bump Facter epoch to 1

This commit bumps the facter epoch to 1. This
is to address the errant release of a facter 2.0rc
to the Puppet Labs yum production repository, which
may have been then installed unintentionally by its
users. The epoch bump is in tandem with equivalent
changes to Facter 1.6.9 and 2.0.0rc4. This will
ensure users who intentionally installed 1.6.10 rc/
2.0 rc keep it, while users of 1.6.9 who unintentionally
installed 2.0rc are taken back to 1.6.9.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #238 from MosesMendoza/bump_facter_epoch_to_1

Bump facter epoch to 1
Update CHANGELOG, facter.spec for 1.6.10
Modify facter spec to work with Ruby 1.9

This is a minor change to allow facter 1.6.x to work with Ruby 1.9.
Linux distributions have already made these changes, so I am just
ensuring that yum.puppetlabs.com builds will work on distros shipping
with Ruby 1.9 as their default (or only) ruby option.

This package builds cleanly and ran on CentOS6 with Ruby 1.9 back-ported
from Fedora 17.

Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
Merge pull request #251 from stahnma/ruby19_1.6.x

Modify facter spec to work with Ruby 1.9
Update version nos to match Facter development

Minor documentation fixup to clarify version numbering
as the original was Puppet centric rather than Factor.
(#15049) Return only one selinuxfs path as string from mounts

The block that parses /proc/self/mountinfo to find a selinuxfs filesystem would
return results as an array.  On Ruby 1.8, interpolating this into a string for
File.exists? when one result was returned worked, while on Ruby 1.9 it
interpolated as ["/sys/fs/selinux"]/enforce so later failed.

This changes the block to return the single result string rather than an array.

This also fixes #11531 where multiple selinuxfs filesystems could be mounted,
as it returns only the first mountpoint.

The /proc file was changed from /proc/self/mountinfo to /proc/self/mounts for
compatibility with Linux 2.6.25 and older.
Merge branch 'tickets/1.6.x/15049' of https://github.com/domcleal/facter into 1.6.x
(#15687) Selinux: Test for policyvers before reading it

Previously facter would read /#{selinux_mount_point}/policyvers without first
verifying it existed, which would spew stderr to the console if it did not
exist. This commit makes the default value for the fact "unknown" and only uses
a different value if policyvers exists. This also includes an updated test
which fails using the previous fact definition.
Merge pull request #271 from haus/ticket/1.6.x/15687_verify_policyvers_exists_before_reading

(#15687) Selinux: Test for policyvers before reading it
(Maint) Update CONTRIBUTING.md to match Puppet

The previous CONTRIBUTING.md was misleading and didn't match what we
were looking for in contributions. In addition it pointed to several
tools that are not used anymore.
Merge pull request #276 from zaphod42/maint/1.6.x/update_contributing_md

(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
Update CHANGELOG, conf/redhat/facter.spec for 1.6.11
Update a facter build-requires for f17
Update a facter build-requires for f17