Fix chefspec tests and recipes to get passing

A few fixes were required in the chefspec itself, but also in the
recipes themselves to make chefspec tests pass.