base install script for mac and puppet