Call rpm --whatprovides on packages required to run puppet

We install the packages with one yum command but it won't return
error if some of the packages are missing. We better check that
using rpm.

Change-Id: Ie2537c5c0e3348d2c7df6b9bfc40939985171b45