puppet-master: apply Hiera patch to RH/CentOS

We have a specific patch for Hiera while it's merged upstream.
The patch was only applied to Debian/Ubuntu, let's do it also for
Centos/RH systems.