Fix cookbook for chef version prior 11+