The Red Sox have signed infielder/outfielder Yairo Munoz to a minor-league contract, a source confirmed Wednesday. The move is official, according to the team’s transaction log.

Munoz, who appeared in 196 games over the last two years for the Cardinals, entered spring training with a good chance of making the St. Louis’ roster before leaving camp earlier this month -- without giving the club an explanation -- due to frustrations with an injury and his playing time in the past. According to the St. Louis Post-Dispatch, Munoz appeared in six spring games before feeling a “pop” in his hamstring and, unbeknownst to the team, flew home to the Dominican Republic before the team had a chance to do an MRI.

The Cardinals then released Munoz, who had complained about playing time after appearing in 88 games last season.