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