puppet config set needs unset
puppet config supports a set key ''
but seems to offer no way to unset a key once it exists in puppet.conf
puppet config set --section main server pm_upgraded.example.com puppet config print server pm_upgraded.example.com
leaving the question: what is the best way to purge the agent.server key which is set by the pe-agent installation?
Failure to purge that setting returns two entries with
puppet config print server
and the agent entry defaults to 'puppet' if the key is assigned a null value.
With no /etc/hosts entry to back that up.
If we set the new server address in both the main and the agent sections, will the duplicate create issues for us?
We are building an upgraded 3.8.3 pe-master to which we wish to migrate our existing environments from a 3.2.3 pe-master. I will need to redirect the existing nodes to the new server once that process is complete. I am trying to sort out the best way to do this.
Any guidance would be appreciated.