Updated module; fixed puppet 3.1.1, ubuntu, ruby issues

small changes that made the module functional.