Closed DnZmfr closed 3 years ago
I decided to add the nodejs packages in hieradata with nodejs::npm
This is a problem with the tests in your custom_module
. If you use on_supported_os.each do |os, facts|
et cetera, from https://github.com/mcanevet/rspec-puppet-facts like we do with @voxpupuli modules, you won't have this problem because you'll have all of the modern OS facts defined.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
custom_module/manifests/linux/opencv.pp
custom_module/spec/classes/opencv_spec.rb
What are you seeing
What behaviour did you expect instead
Output log
See above.
Any additional information you'd like to impart