update recipes to work in both chef 0.6 and chef 10