I have testet now a fresh installation of Foreman 1.17.0 RC1 and Puppet 5.
Same Error.
Sorry @ the dev’s, but Iam sure the Puppet 5 Integration was never testet correctly. Foreman is not install-able from scratch anymore as it described in the foreman-install documentaito and not update-able.