Moved the yum repo command to puppet using exec which creates check.