Page MenuHomePhabricator

Use a forward port of Puppet 7 on Trixie hosts
Closed, ResolvedPublic

Description

By default Trixie includes Puppet agent 8.10.

But before we can use that version, we need fix our use of legacy facts (which will be addressed via T366900). In the mean time we'll use the same version of Puppet 7 as we also do on Bullseye and Bookworm.

Event Timeline

Change #1139314 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Add component/puppet7 for trixie-wikimedia

https://gerrit.wikimedia.org/r/1139314

Change #1139314 merged by Muehlenhoff:

[operations/puppet@production] Add component/puppet7 for trixie-wikimedia

https://gerrit.wikimedia.org/r/1139314

In addition to the puppet-agent forward port two more packages need to be built:

  • puppet agent 7 needs ruby-concurrent 1.1.x (since 1.2.x has breaking API changes), but trixie includes 1.3.5). It should be fine to simply also apt-pin a forward port of 1.1.6 to Trixie; I checked with debdeploy and the only reverse dependency of ruby-concurrent (apart of the legacy Puppet 5 masters) is puppet-agent
  • ruby-defaults declares a Breaks: against the Puppet 7 agent (to clear some dist-upgrade issues with apt), we can simply rebuild ruby-defaults on apt.wikimedia.org and remove that.

Change #1140659 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Initial Puppet agent apt config for Puppet 7 in Trixie

https://gerrit.wikimedia.org/r/1140659

Mentioned in SAL (#wikimedia-operations) [2025-05-02T10:06:37Z] <moritzm> imported ruby-concurrent 1.1.6+dfsg-5~wmf13u1 to component/puppet7 for trixie-wikimedia T392790

Mentioned in SAL (#wikimedia-operations) [2025-05-02T13:49:38Z] <moritzm> imported ruby-defaults 1:3.3~wmf13u1 to component/puppet7 for trixie-wikimedia T392790

Change #1140716 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Extend package list to be installed from component/puppet7 on trixie

https://gerrit.wikimedia.org/r/1140716

Change #1140659 merged by Muehlenhoff:

[operations/puppet@production] Initial Puppet agent apt config for Puppet 7 in Trixie

https://gerrit.wikimedia.org/r/1140659

Change #1140716 merged by Muehlenhoff:

[operations/puppet@production] Extend package list to be installed from component/puppet7 on trixie

https://gerrit.wikimedia.org/r/1140716

Mentioned in SAL (#wikimedia-operations) [2025-05-09T07:57:55Z] <moritzm> imported puppet-agent 7.23.0-1+wmf13u1 to component/puppet7 for trixie-wikimedia T392790

Change #1143746 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] puppet: On Trixie install Puppet 7 from component/puppet7

https://gerrit.wikimedia.org/r/1143746

Change #1143746 merged by Muehlenhoff:

[operations/puppet@production] puppet: On Trixie install Puppet 7 from component/puppet7

https://gerrit.wikimedia.org/r/1143746

Change #1145209 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Install the Puppet 7 agent in d-i for trixie as well

https://gerrit.wikimedia.org/r/1145209

Change #1145209 merged by Muehlenhoff:

[operations/puppet@production] Install the Puppet 7 agent in d-i for trixie as well

https://gerrit.wikimedia.org/r/1145209

Trixies uses a forward port of Puppet 7 which gets correctly installed during d-i.