Fixes #1. Puppet is now installed first. All the apt repository stuff is sorted out.