Section 27. All plumbing, water-closets, and the compartments in which they are located, pipes and other like fixtures in dwellings, rooming-houses, and tenements, shall be installed and maintained, in accordance with the plumbing regulations of cities of the first class.