Skip to content

Releases: voxpupuli/onceover

Allow resolution of trusted[certname] from factset

16 Mar 14:06
722287a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.21.0...v3.22.0

Support ruby 3

17 Jun 14:56
cf42f96
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.20.0...v3.21.0

Added support for external data

08 Apr 15:07
Compare
Choose a tag to compare

Onceover now supports facts that come from the trusted_external_data setting

Fixed Facter 4 factsets

17 Mar 16:48
Compare
Choose a tag to compare

Thanks to @genebean for this fix! Facter 4.0 changed how the puppet facts output looked, we can now handle this!

Revert manifest setting

26 Jan 10:53
Compare
Choose a tag to compare

Okay looking at these changes maybe this should have been a y release rather than a z... However I have limited time at the moment to fix so for now it's staying as it is. Changes are as follows:

  • As per #292 the manifest option now defaults to nil as per the README
  • Testing has now been migrated to GitHub actions
  • Factset added: CentOS-8.3.2011-64
  • Factset added: Debian-10.4-64
  • Factset added: Debian-8.11-64
  • Factset added: Debian-9.12-64
  • Factset added: Ubuntu-20.04-64
  • --trace option now properly propagates to r10k command execution for debugging

Rspec tags support

10 Nov 17:53
Compare
Choose a tag to compare

New Features

Rspec tags support

Tags created in the onceover config file are now propagated to rspec tags and the --tags option now affects both tags created in the onceover config file, but also any other rspec tags on any other tests that you might have put in your /spec folder.

Bugfixes

manifest option now works

The manifest option was previously not respected. WARNING: This could cause tests to break if you were previously relying on your site.pp not being read and parsed. If you are using site.pp to do classification based on facts or hostnames, and those facts or hostnames are included in your factsets, it will likely result in onceover testing two roles at a time instead of one and therefore breaking. I recommend that if you are affected by this you don't include whatever fact you use i.e. $facts['role'] in your factset. Onceover creates a variable for what it is testing called $onceover_class at global scope which might help if you were previously relying on a $role fact or similar. Alternately specifying a manifest directory that doesn't exist will also reset to the previous (technically incorrect) behaviour. This can be done permanently in the onceover.yaml file

Others

Fixed "erroor" typo

23 Sep 16:55
Compare
Choose a tag to compare

Added custom spec directories

29 Jul 11:48
Compare
Choose a tag to compare

As per #261 and #262 you can snow specify where to copy your spec files from before the tests run

Added Chocolatey facts 🍫

17 Jul 09:45
Compare
Choose a tag to compare

Thanks to @16c7x the default Windows factsets now contain enough chocolatey facts to run successfully if you're using the chocolatey module

Fixed tabular output

08 Jul 11:13
Compare
Choose a tag to compare

oncover show puppetfile now uses a different library for drawing tables which means that they aren't borked as per #273. Thanks to @smortex for this one! Also fixes #182