Setup mongo using bash and puppet