PuppetConf 2016 has ended
Back To Schedule
Thursday, October 20 • 2:30pm - 3:15pm
Turning Pain Into Gain: A Unit Testing Story – Nadeem Ahmad & Jordan Moldow, Box

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Puppet is integral to Box's infrastructure, serving many purposes. Use of Puppet grew organically, resulting in a large monolith of fragile spaghetti code. When we needed CI, this code was in an untestable state. Out of the box, rspec-puppet didn't work. Rather than continuing to rely only on manual testing or rewriting our code into proper modules, roles, and profiles, we made the unit testing system work with our spaghetti code. Our open-source rspec-puppet extensions enabled us to add coverage for our monolith, and can help others achieve the same. This session covers Box's journey to a fully-featured Puppet CI. We discuss the importance of unit testing, show it's possible to improve testing practices, present solutions to roadblocks we encountered, and share workflows we created.

avatar for Nadeem Ahmad

Nadeem Ahmad

Software Engineer, Box
Nadeem Ahmad is a Software Engineer on the Ops Platform team at Box. Nadeem is originally from Toronto, Canada and graduated from the University of Waterloo in 2014. As part of the Ops Platform team, he champions Puppet's best practices at Box and owns the Puppet unit testing pipeline... Read More →
avatar for Jordan Moldow

Jordan Moldow

Software Engineer, Box
Jordan Moldow is a Software Engineer on Box’s Desktop team. After earning MIT BS degrees in CSE and mathematics in 2014, Jordan moved to California to join Box. He writes Python for Desktop clients and CI infrastructure, and Puppet for build machines. After a call to tackle Puppet... Read More →

Thursday October 20, 2016 2:30pm - 3:15pm PDT