yum list available - not showing all packages

If the package is installed, it will not show up as available. You can specify the --showduplicates option to see everything that is available in a repo whether it is installed or not. I would suggest comparing output of the following command run on both servers. It should be the same output if both servers are accessing the same repo:

yum list available --disablerepo=* --enablerepo=foo --showduplicates

Or you could try this

yum list --showduplicates | grep foo

The "yum list" lists all packages installed or available the "--showduplicates" shows all packages in all enabled repos even if they have been seen in another repo then just grep for your repo name to see what is being provided by your local repo