NOREF: Completely rewriting puppetdeploy.py to be ore programmatic