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.
Add support for distingushing which Solaris

The operatingsystem fact now returns OpenIndiana, SmartOS or OmniOS if
you are on those platforms and not Oracle Solaris. This handles the
distro problem on Solaris/SunOS the same way facter deals with Linux
distros.
Add new distros to Solaris family

Add the new distros added as part of the changes to the operatingsystem
fact to the Solaris family.
Fixes behaviour change if /etc/release does not exist.

Our $operatingsystem default before the variant detection was
"Solaris" for SunOS variants, but without the 'FileTest.exists?' guard,
the case statement would drop an exception and it'd end up set to
"SunOS".
Update other facts to use osfamily instead of operatingsystem
Update version nos to match Facter development

Minor documentation fixup to clarify version numbering
as the original was Puppet centric rather than Factor.
Add OpenIndiana to operatingsystem and osfamily, as well as check
/etc/release for Solaris rather than just falling back to it.
Modify this to handle Solaris a little better, via the use of uname -v.
Merge branch '2.x' of https://github.com/puppetlabs/facter into openindiana
(#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
In one of the more recent versions of rspec they changed calls from
expect{} to be .to and .to_not instead of should/should_not.  This
fixes the three failure tests I see every time I run the tests.  This
was driving me crazy.
Merge branch 'fixexpect' of https://github.com/apenney/facter into 2.x
Merge branch '1.6.x' into 2.x

Conflicts:
	CHANGELOG
	conf/redhat/facter.spec
	lib/facter.rb