Ruby + Puppet Testing

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Ruby + Puppet Testing

jewzaam
Administrator
We have unit tests running for lightblue-puppet.  In a recent discussion with someone the question of version compatibility came up.  Are we testing only with versions of ruby supported by the puppet versions we are testing?
Reply | Threaded
Open this post in threaded view
|

Re: Ruby + Puppet Testing

dcrissman
We are currently testing all permutations of puppet versions [3.4.0, 3.5.0, 3.6.0, 3.7.0]  against ruby versions [1.8.7, 1.9.3, 2.0.0, 2.1.0].

There is no specific rhyme or reason to the selection of those versions other than I stole them from another project with the assumption that we could adjust as needed.
Reply | Threaded
Open this post in threaded view
|

Re: Ruby + Puppet Testing

jewzaam
Administrator
https://docs.puppetlabs.com/guides/platforms.html#ruby-versions

So looks like we're running the right combinations, though ruby 2.1.x isn't supported with puppet 3.4.0.  Don't think it's worth trying to make that specific test combination not run.
Reply | Threaded
Open this post in threaded view
|

Re: Ruby + Puppet Testing

dcrissman