added functionality to add a new pcode entry to the hosts file to be pushed to the puppet-pset GitHub repo