seems a bit verbose. how about:

[[ "${repos_base_type}" == 'release' ]] && baseurl="${repos_base}/ose-rhc/1.2/os/" || baseurl="${repos_base}/Client/x86_64/os/"

And likewise for the rest.