DRYing out configuration, puppet parser functions ftw