Update puppet master/agent option passing method to the script.