All such cities or towns in this State shall provide by ordinance rules and regulations for the construction of all plumbing and sewerage placed in or on any building or the premises thereof in any such city or town, and no work of this character shall be done unless a permit is issued therefor, except that leaks may be repaired without securing such a permit.