Standardize variable names for puppetmaster / puppetdb

Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>