Adding puppet standalone support

Removed the assumption that this module is only used in puppet server / client mode. servername variable isn't available in puppet standalone mode