Puppet report: report_retry_limit in foreman.rb cannot be configured

Problem: foreman-installer does not allow to configure the report_retry_limit for the puppet report script foreman.rb. We would like to set the report_timeout (this can be confiugred) to a lower value than the default of 60s and increase the number of retries.

Expected outcome: report_retry_limit contained in /etc/puppetlabs/puppet/foreman.yaml and being configurable

Foreman and Proxy versions: 2.3.2

Other relevant data:
We can configure the report timeout in /etc/foreman-installer/custom-herra.yaml but not the number of retries.

I realize this is old, but I was looking to do the same thing. Submitted a PR to theforeman/puppet-puppetserver_foreman that added the new setting, and allows us to set this via hiera now:

puppetserver_foreman::reports_timeout: 30
puppetserver_foreman::report_retry_limit: 3

May not directly address the foreman-installer part of it, but it is configurable now if it helps.