Debug: Executing 'C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo';
Notice: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]/ensure: created
Debug: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]: The container Class[Puppet_enterprise_agent_upgrade] will propagate my refresh event
C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo
Nothing to update.
Debug: Executing 'C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo'Notice: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]/ensure: ensure changed '3.3.2' to 'latest'Debug: /Package[pe-agent]: The container Class[Puppet_enterprise_agent_upgrade]will propagate my refresh event
Hello There,We started our puppet adventures at 3.2.x with both windows and linux boxes. Since then we have upgraded our Master to 3.3.2 and are looking to upgrade to 3.7. The linux agent upgrades are very simple, but I am running into issues with the windows agent upgrades :/ We have an Artifcatory based Nuget repo and all of the pipping is working. It looks like chocolatey is running an upgrade and it is not working. (it could very well be my nuget code :) as I am not a windows guy)
This is the output of the puppet run:
Debug: Executing 'C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo';Notice: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]/ensure: created
Debug: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]: The container Class[Puppet_enterprise_agent_upgrade] will propagate my refresh event
And this is the output of the chocolatey run manually:
C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo
Nothing to update.
When I run an install vs upgrade it works as planned, with one lingering affect, where puppet tries to change 3.3.2 to latest all the time (this I can likely fix in the puppet manifest with a version number vs latest)
Debug: Executing 'C:\ProgramData\chocolatey\chocolateyInstall\chocolatey.cmd update pe-agent -source nuget-repo'Notice: /Stage[main]/Puppet_enterprise_agent_upgrade/Package[pe-agent]/ensure: ensure changed '3.3.2' to 'latest'Debug: /Package[pe-agent]: The container Class[Puppet_enterprise_agent_upgrade]will propagate my refresh event
Any help would be greatThanks,Jason.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8be76ca0-4b98-494d-834a-2c910be423bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Trying to upgrade Puppet with Puppet on Windows is harder because Windows locks files that are in use instead of letting you replace them in place.
package{'pe-agent':
ensure => hiera('puppet_enterprise_agent_upgrade::pe::agent::version'),
provider => 'chocolatey',
source => $source,
}
Thanks of the update, this is great news. If you do not mind, please can you share your puppet manifests and chocolatey package?
More over how do you, if you have to, deal with the .net4 issue that I posted?
Am 05.12.2014 um 19:03 schrieb Rob Reynolds:
Trying to upgrade Puppet with Puppet on Windows is harder because Windows locks files that are in use instead of letting you replace them in place.
That's not true. Upgrading Puppet with Puppet on Windows works just fine. Downgrade is a different story, depending on the versions involved. I've alread done upgrades from 3.2.1 to 3.4.3 and I'm currently in the process of upgrading ~150 Windows agents from 3.4.3 (32bit) to 3.7.3 (64bit) and I don't see any problems related to file locks.
Bye...
Dirk
--
Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: d...@recommind.com
Skype: dirk.heinrichs.recommind
www.recommind.com
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5485B666.6030505%40recommind.com.
Hello RobThanks for the response. I will take a look at OpenTable's module for sure. I will also add -force on to my install lineFor the third part, we ran into another issue, and I am not sure if this is spelled out any where but we pass in the version 3.3.2 vs latest and most of our servers didn't have .net 4.0 and above and we were getting errors on these servers along the lines of "chocolatey cannot parse the parameters with out .net 4.0 or higher"
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d9e2d6c3-f29f-4afd-9391-3c4db55ed10c%40googlegroups.com.