puppet install script and some helpers