Skip to content

Make it easy to test without legacy facts #38

Open
@ekohl

Description

@ekohl

Use Case

Puppet 7.21.0 gained the configuration option include_legacy_facts. It defaults to true but Puppet 8 will default to false. It would make future proofing of modules easier if you could already test in rspec-puppet with include_legacy_facts set to false.

Describe the Solution You Would Like

Add an option to rspec-puppet to use this.

Describe Alternatives You've Considered

It is very common to use rspec-puppet-facts and perhaps that should gain the option. Then FacterDB does need another set of facts for each OS and Facter version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions