| Enabling the foss puppet 6 repo on PE master nodes. Causes the Puppet agent to Update to Latest.The Agent being a head of the master particularly dangerous on infrastructure nodes, and places the Customer in an unsupported configuration. The first noticeable impact is that puppet runs will start throwing errors about being unable to download and populate rpms for PE_repo:
Notice: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/opt/puppetlabs/server/data/packages/public/2019.0.0/windows-x86_64-6.3.0/puppet-agent-x64.msi]/returns: % Total % Received % Xferd Average Speed Time Time Time CurrentNotice: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/opt/puppetlabs/server/data/packages/public/2019.0.0/windows-x86_64-6.3.0/puppet-agent-x64.msi]/returns: Dload Upload Total Spent Left SpeedNotice: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/op100 283 100 283 0 0 803 0 --:--:-- --:--:-- --:--:-- 803agent-x64.msi]/returns:Notice: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/op 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0agent-x64.msi]/returns:Notice: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/opt/puppetlabs/server/data/packages/public/2019.0.0/windows-x86_64-6.3.0/puppet-agent-x64.msi]/returns: curl: (22) The requested URL returned error: 404 Not FoundError: 'curl -f -L -o puppet-agent-x64.msi https://pm.puppetlabs.com/puppet-agent/2019.0.0/6.3.0/repos/windows/puppet-agent-x64.msi' returned 22 instead of one of [0]Error: /Stage[main]/Pe_repo::Platform::Windows_x86_64/Pe_repo::Windows[windows-x86_64]/Pe_staging::File[puppet-agent-x64.msi]/Exec[/opt/puppetlabs/server/data/packages/public/2019.0.0/windows-x86_64-6.3.0/puppet-agent-x64.msi]/returns: change from 'notrun' to ['0'] failed: 'curl -f -L -o puppet-agent-x64.msi https://pm.puppetlabs.com/puppet-agent/2019.0.0/6.3.0/repos/windows/puppet-agent-x64.msi' returned 22 instead of one of [0] (corrective)Notice: /Stage[main]/Pe_repo::Platform::El_5_x86_64/Pe_repo::El[el-5-x86_64]/Pe_repo::Repo[el-5-x86_64 2019.0.0]/Pe_staging::Deploy[puppet-agent-el-5-x86_64.tar.gz]/Pe_staging::File[puppet-agent-el-5-x86_64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-6.3.0/puppet-agent-el-5-x86_64.tar.gz]/returns: % Total % Received % Xferd Average Speed Time Time Time CurrentNotice: /Stage[main]/Pe_repo::Platform::El_5_x86_64/Pe_repo::El[el-5-x86_64]/Pe_repo::Repo[el-5-x86_64 2019.0.0]/Pe_staging::Deploy[puppet-agent-el-5-x86_64.tar.gz]/Pe_staging::File[puppet-agent-el-5-x86_64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-6.3.0/puppet-agent-el-5-x86_64.tar.gz]/returns: Dload Upload Total Spent Left SpeedNotice: /Stage[main]/Pe_repo::Platform::El_5_x86_64/Pe_repo::El[el-5-x86_64]/Pe_repo::Repo[el-5-x86_64 2019.0.0]/Pe_staging::Deploy[puppet-agent-el-5-x86_64.tar.gz]/Pe_staging::File[puppet-agent-el-5-x86_64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet100 286 100 286 0 0 947 0 --:--:-- --:--:-- --:--:-- 950Notice: /Stage[main]/Pe_repo::Platform::El_5_x86_64/Pe_repo::El[el-5-x86_64]/Pe_repo::Repo[el-5-x86_64 2019.0.0]/Pe_staging::Deploy[puppet-agent-el-5-x86_64.tar.gz]/Pe_staging::File[puppet-agent-el-5-x86_64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Notice: /Stage[main]/Pe_repo::Platform::El_5_x86_64/Pe_repo::El[el-5-x86_64]/Pe_repo::Repo[el-5-x86_64 2019.0.0]/Pe_staging::Deploy[puppet-agent-el-5-x86_64.tar.gz]/Pe_staging::File[puppet-agent-el-5-x86_64.tar.gz]/Exec[/opt/puppetlabs/server/data/staging/pe_repo-puppet-agent-6.3.0/puppet-agent-el-5-x86_64.tar.gz]/returns: curl: (22) The requested URL returned error: 404 Not Found
|
This is due to the url being formed in part by the AIO_Agent_Version fact, which in this case is wrong: curl -f -L -o puppet-agent-x64.msi https://pm.puppetlabs.com/puppet-agent/2019.0.0/6.3.0/repos/windows/puppet-agent-x64.msi' returned 22 instead of one of [0] |