Issue #22906 has been updated by Melissa Stone.

Released in Puppet 3.4.0-rc1

----------------------------------------
Bug #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#change-100944

* Author: Rob Reynolds
* Status: Closed
* Priority: Normal
* Assignee: Rob Reynolds
* Category: 
* Target version: 3.4.0
* Affected Puppet version: development
* Keywords: windows
* Branch: https://github.com/puppetlabs/puppet_for_the_win/pull/61
----------------------------------------
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>
    &lt;Property Id="PUPPET_MASTER_SERVER" Value="puppet"&gt;
    &lt;Property Id="PUPPET_AGENT_ENVIRONMENT" Value="production"&gt;
</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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to