Dissecting the Role-Cookbook Pattern

Have you heard about Roles in Chef Server? Have you heard that “best practice” says not to use them because they’re not versionable? Have you been warned not to store attributes in Roles? What if we could have it all? What if we could use Roles that were versionable and were safe to store attributes in? Well, you’re in luck — we can! Join me as we dive into the Role-Cookbook Pattern and learn that we can, indeed, have our cake and eat it too!


Eric Maxwell


Eric Maxwell is a Solutions Engineer at Chef Software and is focused on making companies more awesome by helping them “do the DevOps” and enabling them to ship at velocity. Eric has helped dozens of the world’s top companies adopt Chef too ls and DevOps methodologies while assisting with their DevOps transformation. Based in Portland, Oregon, USA, Eric runs the Chef PDX meetup and is active on the speaker circuit spreading the love of DevOps. In past lives, Eric was a back-e nd C# engineer, a big-data engineer, and a professional social engineer.