Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How can I access the params.pp variables in Serverspec tests?

$
0
0
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?

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>