Generate fact sets for upcoming Facter 4 release

Description

The upcoming release of Facter 4 has the potential to blow up our tests if we don't have factsets at the ready.

We already have beaker tests in place to help us generate our facts so this should not be too much of a burden.

Acceptance Criteria

None

Activity

Show:
Chris Tessmer
March 9, 2020, 5:18 PM

On a related thought: Our common Gemfile for simp modules currently leaves the facter version to the puppet gem's dependencies.

That means a gem release of Facter 4 could blow up our Puppet 6 module spec tests:

But a gem release of Facter 4 shouldn't blow up the Puppet 5 module spec tests:

Should our Gemfiles should also adopt the FACTER_GEM_VERSION environment variable mentioned in https://groups.io/g/voxpupuli/message/313?

Chris Tessmer
March 9, 2020, 5:23 PM

In addition to generating new factsets, we will also need to loosen up the gem's dependencies to permit Facter 4 during testing: https://github.com/simp/rubygem-simp-rspec-puppet-facts/blob/3.1.1/simp-rspec-puppet-facts.gemspec#L24

Epic Link

None

Story Points

None

Sprint

Priority

Highest
Configure