Upgrade fails

The Puppet agent .msi package overwrites existing entries in the puppet.conf file. If you upgrade or reinstall the agent with a different primary server hostname, Puppet applies the new value in $confdir\puppet.conf file.

When you upgrade a Windows agent, you must use the same primary server hostname that you specified when you originally installed the agent.

For information on configuring puppet.conf and which settings are preserved during upgrades, refer to MSI properties.