Beaker

Puppet provides a perfectly adequate acceptance testing harness in Beaker. Beaker is designed to connect to a hypervisor and spin up nodes as defined in configuration files and apply the Puppet tests. It uses a simple language called Serverspec to define tests. It also has the benefit of checking for idempotence by running a second time. Puppet themselves have also connected it to another application called VMPooler, which preemptively spins up a pool of virtual machines to act as SUTs and replaces themselves when the test is done, providing rapid response time to acceptance tests. If you, as an organization, are far along in your CI/CD process, and require virtual machines, I highly recommend Beaker. For this section, we'll do our acceptance testing in Test Kitchen, simply because I believe it's easier to work with and provides more options for workstation development.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.62.94