Port chef, apt, and ruby scripts to puppet.

This marks the start of porting the shell scripts to puppet. apt.sh was an easy candidate, and not building ruby from scratch saves several minutes of build time.