facterdb
facterdb copied to clipboard
Increase test coverage
This adds tests for operatingsystemrelease / operatingsystemmajrelease
The code in question is: https://github.com/voxpupuli/rspec-puppet-facts/blob/0df5a5d82b48f7bc87016e46b247b69a6f5c3302/lib/rspec-puppet-facts.rb#L152-L165
I wonder if we should make rspec-puppet-facts understand a missing release. If facter does really return null
for these we could synthesize it to rolling
or simplify it to os-arch
instead of os-release-arch
.
Obsoleted by #266?