This article shows how to easily take a list of installed YUM packages from one server and then install those same packages on another server.
Get the list of installed packages from the source server:
rpm -qa --queryformat "%{NAME}\n" > ~/yum.list
Copy that list file (~/yum.list) to the target server and the run the following command:
xargs yum install < ~/yum.list