The San Diego Padres have agreed to a minor league contract with reliever Yusmeiro Petit.