Fixed some issues with headnode puppet manifests.

They actually apply now. The code needs some cleanup, and they don't do
everything we want yet.