Index | Thread | Search

From:
"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de>
Subject:
Re: Overhaul package handling in puppet 8
To:
"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de>
Cc:
"Giovanni Bechis" <giovanni@paclan.it>, ports@openbsd.org, kn@openbsd.org, atalaran@gmail.com
Date:
Sat, 20 Apr 2024 23:06:38 +0200

Download raw body.

Thread
Hi,
On Wednesday, April 10, 2024 11:05 CEST, "Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de> wrote:

> On Wednesday, April 10, 2024 08:26 CEST, Giovanni Bechis <giovanni@paclan.it> wrote:
> 
> > On 4/10/24 07:10, Sebastian Reitenbach wrote:
> > > Hi,
> > > On Tuesday, April 09, 2024 22:43 CEST, Giovanni Bechis <giovanni@paclan.it> wrote:
> > > 
> > >> On Tue, Apr 09, 2024 at 10:17:30PM +0200, Sebastian Reitenbach wrote:
> > >>> Since we now have a recent Puppet in ports, I started looking at how packages are handled with Puppet.
> > >>> My current trouble is that it wasn't really possible to install banches properly: i.e. can't properly install gimp,
> > >>> or auto* based on branch. Or esp, when want to install multiple of them, it was just not possible.
> > >>> For ports where branches conflict, i.e. postfix, this was working, but had to specify exact version, and on every
> > >>> upgrade bump the version .... _very_ annoying.
> > >>>
> > >>> Currently Puppet allows to install packages of a given version (ensure => "X.Y.Z"), or to follow updates (ensure => "latest").
> > >>>
> > >> [...]
> > >>> This is just for Puppet 8. Anyone still on Puppet 7? It should be easily ported to Puppet 7 as well.
> > >>>
> > >> I am on Puppet 7 and I do not have time to upgrade to Puppet 8 soon; I
> > > 
> > > My upgrade from Puppet 7 to 8 took quite a long time. They removed a lot of backward compat
> > > shim, and if you have many old and partially hand made or patched modules like I do, it took
> > > quite a while to update all of them....
> > > 
> > upgrading is on my queue and I have lot of hand made modules, other then that, can a Puppet 7 client connect to a Puppet 8 server ?
> 
> Yes, it worked for me, it's also recommended to upgrade master (and db) first, then update the clients.
> Depending on your modules, you may already see some fallout when just upgrading the server, 
> and then even more, when upgrading the agents ;)
> 

This is now in, but just for Puppet8, I left Puppet 7 alone for now.
For anyone using Puppet8, for Puppet managed packages that have branches, you now have to use the package name including the branch, 
i.e. puppet%8, openldap-server%openldap, gimp%stable, jdk%1.8 etc. as you would using pkg_add 

cheers,
Sebastian