voxpupuli / onceover

Your gateway drug to automated infrastructure testing with Puppet
Apache License 2.0
142 stars 45 forks source link

Unable to change to use ".facts" extension for factsets #323

Open treydock opened 1 year ago

treydock commented 1 year ago

I tried this:

opts:
  :facts_dirs:
    - spec/factsets
  :facts_files:
    - 'spec/factsets/*.facts'

I think the issue is the hardcoded JSON extension here: https://github.com/dylanratcliffe/onceover/blob/954d11d67d75787fa9f5b5508b8e93876e56055d/lib/onceover/testconfig.rb#L154-L160

This is the error:

Error while running: #<RuntimeError: Could not find factset for node: RHEL-7.4>