Issue #22906 has been reported by Rob Reynolds. ---------------------------------------- Feature #22906: MSI properties that have a default value don't allow the remembered property to be applied during an upgrade https://projects.puppetlabs.com/issues/22906
* Author: Rob Reynolds * Status: Accepted * Priority: Normal * Assignee: Rob Reynolds * Category: * Target version: 3.4.0 * Affected Puppet version: development * Keywords: windows * Branch: ---------------------------------------- If you install puppet on windows, the value is persisted in the registry. If you upgrade and don't specify a new value, the persisted value should be re-applied, but is not. Specifically: <pre> <Property Id="PUPPET_MASTER_SERVER" Value="puppet"> <Property Id="PUPPET_AGENT_ENVIRONMENT" Value="production"> </pre> To reproduce, install 3.3.1 (or whenever the property was introduced): <pre> start /w msiexec /qn /i puppet-3.3.1.msi PUPPET_MASTER_SERVER=myotherserver </pre> Make sure the value is in the registry and puppet.conf: <pre> reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Puppet Labs\PuppetInstaller" /v RememberedPuppetMasterServer type c:\programdata\puppetlabs\puppet\etc\puppet.conf </pre> Upgrade to the new version without specifying a new value: <pre> start /w msiexec /qn /i puppet-latest.msi </pre> puppet.conf will revert back to the default `puppet` instead of the remembered value `myotherserver` This wasn't an issue previously, because once a value was written to puppet.conf, it was never changed, even if a new value was specified in the command line. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.