This looks like it will just silently fail if rpm is missing.  Let's check for it, install if missing and then carry on with puppet installation.