more production-y way of installing packages

don't call yum install unless we have to.  exit if any package
install failed.
Merge pull request #5 from cwolferh/work2

more production-y way of installing packages