The legislative body of any city or town may provide by ordinance for a cemetery board to be appointed by the mayor in cities and towns operating under the mayor-council form of government, by the city commission in cities operating under the commission form of government, and by the city manager in cities and towns operating under the council-manager form of government: PROVIDED FURTHER, That no ordinance shall be enacted, pursuant to this section, in conflict with provisions contained in charters of cities of the first class.