The council shall not appoint to a salaried position under the city government any person who is a relative by blood or marriage within the second degree of any one or more of the members of such council. Neither shall any board or commission, department head, or other officer having appointive power appoint any relative within such degree to any salaried position.