We want to include suites of Serverspec tests into our modules, but I can't figure out how to use the variables set in params.pp in the spec tests. I can see how to get facter data, and think I can figure out how to access data via a hiera lookup, but have been struggling to figure out how to access the params in params.pp. We have a number of modules that use the params.pp model, and it's not realistic to rewrite them all for this requirement.
Any suggestions?
↧