Unable to upgarde the puppet agents (windows) from 2019.1.0 to 2019.5.0

22 views
Skip to first unread message

Vinay Korrapati

unread,
Jul 21, 2020, 5:07:44 AM7/21/20
to Puppet Users
Hi All,

My PE successfully upgraded from 2019.1.0 to 2019.5.0 but I am unable to upgrade my puppet agents (windows) from 2019.1.0 to 2019.5.0. 

followed the document: 

Latest MSI file is available in PE and agent as well (tried by installing the MSI manually , able to install the MSI: Version got changed to 6.14.0 as expected). 

Manually ran the puppet agent -t on agent , also getting the below error.

Getting error : change from false to true failed: Failed previous installation with: ScriptHalted

Source: /Stage[main]/Puppet_agent::Install::Windows/Puppet_agent_upgrade_error[puppet_agent_upgrade_failure.log]/ensure_notexistFile: /etc/puppetlabs/code/environments/development/modules/puppet_agent/manifests/install/windows.ppLine: 41

Failed previous installation with: ScriptHalted
Source: Puppet

kindly suggest your inputs to address this issue.

KevinR

unread,
Jul 21, 2020, 2:03:43 PM7/21/20
to Puppet Users
Hi Vinay,

instead of manually updating, take a look at using the puppet_agent module, this automatically upgrades agents to the correct version that belong to the PE version you're running.
Simply add the module to your control repo's Puppetfile and add this declaration to a manifest that gets applied to all nodes (e.g. your baseline):

class {'::puppet_agent':
  package_version => 'auto'
}

-KevinR

Vinay Korrapati

unread,
Jul 23, 2020, 12:30:16 PM7/23/20
to Puppet Users
Hi KevinR,

Thanks for your comment, but would like to test on one machine initially and then will move to rest of the agents. But facing script halted and agent is not getting upgraded. 

Regards
Vinay

Marty Ewings

unread,
Jul 23, 2020, 12:48:17 PM7/23/20
to Puppet Users
As this Is Puppet Enterprise, this sort of issue is best suited for a support ticket, if you cant raise one ( or need help with access) let me know  https://support.puppet.com/hc/en-us

 May i ask which company you work for and if you are a designated support contact?

Reply all
Reply to author
Forward
0 new messages