various fixes to get puppet/puppetmaster configurable on redhat