On Thursday, February 09, 2023 14:51 CET, Giovanni Bechis 
<giova...@openbsd.org> wrote:

> On 1/30/23 21:42, Sebastian Reitenbach wrote:
> > Hi,
> >
> > with Puppet 5 now replaced by Puppet 7, the ability to run a Puppet master 
> > on OpenBSD was gone.
> > These two new packages replace the old PuppetDB 5, with PuppetDB 7 and 
> > introduces the new Puppetserver.
> >
> > Similarly to systuls/ruby-puppet, they go into branches based on the major 
> > version, to have future room for Puppet 8.
> > Their paths where software gets installed is aligned to Puppet, under 
> > /var/puppetlabs/... /usr/local/share/puppetlabs/... etc.
> >
> > Puppetserver usually comes bundled with a Ruby interpreter and Puppet 
> > agent. That doesn't work out
> > on OpenBSD. Therefore some bootstrapping has to be done manually that is 
> > OpenBSD specific, and noted
> > in the Puppetserver pkg/README.
> >
> >   A couple of tweaks I had to do to my hiera files, as well as to some of 
> > the modules, mostly updating
> > them. Overall, the changes weren't that big. As everyone might have 
> > different (custom) modules or
> > hiera plugins in use, ymmv. Therefore I can't really provide a step by step 
> > upgrade path. Install on a test
> > environment before attempting to upgrade/replace your former Puppet 5 
> > Master.
> > That said, Puppet 7 works for me standalone with puppet apply ... but also 
> > against this Puppetserver with PuppetDB backend, autosigning setup...
> >
> > comments to the ports, test reports, or maybe even OKs welcome ;)
> >
> > cheers,
> > Sebastian
> 

thanks for testing.
> Few issues:
> - puppetdb is missing pkg/README file in the tarball
This is missing on purpose, forgot to remove that, as I did last-minute 
clean-ups before sending out the tarball.
Puppetdb is quite standard, so the upstream doc should more or less just work. 
Also the old puppetdb 5 README
contained quite some outdated/misleading info
If there turns to be out some OpenBSD specific issues, I'm happy to re-add.

> - puppetserver doesn't create /var/log/puppetlabs/puppetserver directory
oops

> - puppetserver doesn't start on my server log file attached, it seems there 
> is a dependency missing (no such file to load...).
puppetserver is quite non-standard, compared to puppetdb, just to make sure, 
did you do the initial bootstrap as described in the README?


> New package doesn't upgrade from puppet5, a pkg_path is missing I think.
not sure if that should. as puppetserver is now "extra", and before, it was 
just a single package conaining client and master.

Sebastian

> 
>   Cheers
> 
>   Giovanni

Reply via email to