fixes #1745 - make puppetmaster hostname/domain stripping behaviour configurable