Puppet 7 support

I’ve started a PR to support Puppet 7. In particular Puppetserver 7.

The most notable breakage is that facts are no longer updated. Since the old YAML files are still present and not cleaned up, it appears to work but the data will be stale.

I haven’t been able to find out how to actually write out these facts but I thought I’d give a heads up to any users. Maybe someone here actually knows the right config options.

Do reports work?

Reports do work.

1 Like

In my Puppet 7 development setup it was sufficient to adjust /etc/puppetlabs/puppet/routes.yaml:

  ---
    master:
      facts:
        terminus: puppetdb
        cache: json

The facts were then written out to /opt/puppetlabs/server/data/puppetserver/server_data/facts/<FQDN>.json.

1 Like

Odd. I have exactly that and now it does appear they’re written out. Either I was blind or something changed. I guess I can revisit this then:

I’ve updated the PR now. With the correct fact directory it did work straight away. Thanks!