What to Expect When You’re InSpec’ing

“What to expect when you’re InSpec-ing” is a series of concise learning segments focused on InSpec topics using InSpec resources and controls in quick examples that demonstrate the feature set of the InSpec compliance and testing suite. To develop the “Auditing with InSpec”  certification, the Chef Training team immersed ourselves in how InSpec worked. The […]

Read More

“Habitatize Yourself” a Ruby Web Application in Habitat

Editor Note: “Habitatize Yourself” a Ruby Web Application is a YouTube series hosted by Franklin Webber. This series takes you from idea to Habitat-packaged Ruby application in a lunch break. Watch, learn and code along with him and see how Habitat makes building, deploying, and managing modern applications delightful. I made two attempts at learning Habitat […]

Read More

Watch: Testing at the Edges

On March 1st, I presented a live webinar titled “Testing at the Edges”. Watch the recording below to hear me explain how to test resource guards that execute system commands or require specific system files. I also demonstrate enabling test coverage and working around recipes that rely on search results from the Chef Server. In the presentation, […]

Read More

Test Ohai Plugins with ChefSpec and InSpec

You can test your custom Ohai plugins with ChefSpec using the chefspec-ohai gem, and with InSpec in Test Kitchen. This frees you from the traditionally difficult task of debugging a failing Ohai plugin. In this post, I’ll focus solely on testing an Ohai plugin. If you are interested in a complete tutorial that walks through the process of […]

Read More