I have a host where the puppet agent starts its run using the environment configured in /etc/puppetlabs/puppet/puppet.conf (i.e “production”) instead of starting with the environment from the last run.
/etc/puppetlabs/puppet/puppet.conf
[main]
server = puppet.server.internal
certname = test.vm.local
environment = production
runinterval = 3600
As on the other hosts (which do not experience this issue) the puppet agent is configured to use the puppet environment from the last run: