Or at least add a convenience method, something like: Host#attached_repositories? Or maybe even split into OS and yum repositories...