Petit was designated for assignment on Dec.16 after going 27-for-97 (.278) with two homers and nine RBIs in 37 games for the Astros in 2014. Petit spent most of the season in Triple-A Oklahoma City, where he hit .297 with 10 homers and 43 RBIs.
Both players have also been invited to Spring Training when the Astros open camp in Kissimmee, Fla.
Jamal Collier is a reporter for MLB.com. Follow him on Twitter at @jamalcollier. This story was not subject to the approval of Major League Baseball or its clubs.