2.0.0 (2020-08-05)
- Require Ruby >= 2.4
- Automatically find the latest facter version in the database. Previously a very slow and undeterministic approach was taken when an exact match of the Facter version wasn't found.. The new approach is to take the closest version that is still older than the specified version.
- Fix Amazon Linux 2 fact lookup
- Log which facts could not be found
- Remove json as a dependency
- Automatically select the default Facter version based on the Puppet version.
The available Puppet version is matched against a mapping of Puppet and
Facter versions included in the
puppet-agent
all-in-one packages to find the most suitable Facter version.
- Suppress the warning message generated when the Augeas gem is not available.
- Searching through older Facter releases for a fact set that does not exist no longer causes it to hang indefinitely.
- The
operatingsystemrelease
values are now correctly escaped when building the FacterDB filters, allowing the use ofoperatingsystemrelease
values that contain special regular expression characters like parentheses.
- The default version of Facter to search for is now configurable with
RSpec.configuration.default_facter_version
. - When passing a
:supported_os
hash toon_supported_os()
, singleoperatingsystemrelease
values can now be specified as a String rather than an Array with a single String. - Dependency on the
mcollective-client
gem removed. Themco_version
fact will now optionally be set if the gem is installed. - The fact names can now be provided to tests as Strings instead of Symbols by
setting
RSpec.configuration.facterdb_string_keys
totrue
. - Dropped support for Ruby < 2.1.0
- Take two on getting rubygems autodeploy going. So much for docs, looking at other projects for this one.
- Various CI updates - Garrett Honeycutt
- Symbolize hash keys in
register_custom_fact
#77
- Catch the right
LoadError
on missing augeas gem. Thanks to baurmatt for the quick fix, and rodjek for dealing with the testing
- Do not rely on features of Augeas because Puppet 6
- Bumps facterdb requirement to 0.5.0
- Adds docs for using custom external facts
- hardwaremodel output changed on Windows with Facter 3.x
- Add additional rqspec tests
- Correctly select windows releases that contain spaces
- Facter < 3.4 does not return a proper release name for Windows 2016
- Strip 'Server' prefix from windows release name if present
- Downcase windows to match facter output
- Fix specs for current facterdb release
- Make version fallback testing independent of installed facter gem
- Add SPEC_FACTS_STRICT setting
- Cleanup README
- Add specific test to test minor version ahead of current facter version
- Update test to check for range in case facter version is not currently in FacterDB
- Step down through versions if the current version is not available
- Fix wrong example in README
- Support specifying facter version
- Ignore case when choosing H/W models
- Support custom facts defined by spec_helper
- Fix a bug where not all specified Ubuntu or OpenBSD were captured
- Cleanup and refactor methods
- Add YARD documentation
- Refactor and fix rspec
- Add the OS filter support
- Add some Microsft Windows support
- Add missing mcollective-client dependency
- Dynamically set mco_version
- Dynamically set rubysitedir
- Requires facterdb 0.3.0
- Fix OpenBSD support
- Populate augeasversion, puppetversion and rubyversion
- Fix FreeBSD support
- Keys where not symbolized anymore since v1.0.0
- Fix for old versions of Facter that does not provide operatingsystemmajrelease for some OSes
- Use facterdb
- Add Facter3 support
- Add facts for OpenBSD 5.7
- Add facts for Solaris 11
- Add facts for Ubuntu 14.10
- Add facts for Ubuntu 15.04
- Remove support for Operating System minor release (causes problems with Ubuntu naming)
- Add Gentoo support
- Add support for Operating System minor release
- Update README.md
- Add facts for FreeBSD 9
- Add facts for FreeBSD 10
- Really useless release :-)
- Add facts for facter 2.4
- Format json with python's json.tool
- Improve code coverage in unit tests
- Test on more version of facter in travis matrix
- Add facts for OpenSuse 12
- Add facts for OpenSuse 13
- Symbolize hash keys
- Set fqdn to foo.example.com
- Add json as runtime dependency
- Use json output for facter
- Don't fail if facts not found
- Add facts for SLES 11
- Add facts for Ubuntu 10.04
- Fix for SLES 11 SP1
- Add facts for ArchLinux
- Fix some bugs
- Add unit tests
- Add facts for Debian 8
- Add opts hash parameter
- Tests only with x86_64 by default
- Fix for Ubuntu
- Fix for Fedora
- Add facts for Fedora 19
- Add facts for Scientific Linux
- Add more facts
- Initial release