If the exterior valve on a temperature and pressure line from a water heater is faulty, water will tend to pool around the foundation just where the line exits the structure. A licensed plumber should be called in to repair or replace the valve as soon as possible to avoid foundation damage.