Hi Vinay,

instead of manually updating, take a look at using the puppet_agent 
<https://forge.puppet.com/puppetlabs/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
On Tuesday, July 21, 2020 at 7:07:44 AM UTC+2 vina...@gmail.com wrote:

> 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: 
> https://puppet.com/docs/pe/2019.5/upgrading_agents.html
>
> 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.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8aaadb19-2213-4d43-b5b1-4a38e83deb26n%40googlegroups.com.

Reply via email to