add support for pe installation on mac

Includes setting the certname and server though puppet calls.