Newly provisioned machines not doing Puppet runs

I have the same issue with puppetserver 6 and foreman 1.22. We still have some old Debian Wheezy where only puppet agent 5 is supported. Are there any workarounds?