Fixed missing node variable. Cookbook now works with version