[ ~]$ sudo repoquery --repofrompath="mccf,http://aws-master.mccf.halfakerlabs.com/pub/repo/yum/MCCF" --repoid=mccf -q -a
Use wget
[ ~]$ sudo wget -O /etc/yum.repos.d/mccf.repo http://aws-master.mccf.halfakerlabs.com/pub/repo/yum/mccf.repo
Get the key from the repo
[ ~]$ sudo wget http://aws-master.mccf.halfakerlabs.com/pub/repo/yum/RPM-GPG-KEY-MCCF
Check the fingerprint of the GPG key with the gpg command to make sure it matches the published key
[ ~]$ sudo gpg --quiet --with-fingerprint ./RPM-GPG-KEY-MCCF
Import the GPG key using the rpm command
[ ~]$ sudo rpm import ./RPM-GPG-KEY-MCCF
[ ~]$ sudo yum --disablerepo "*" --enablerepo "mccf" list available
This list should match the list from the reqoquery