Smart Proxy Installation Problem - Could not find resource 'Foreman::Rake[apipie:cache:index]' for relationship from 'Package[setup]' on node

Problem:

Environment: Centos 7 minimal installation and manual on foreman site followed.

When running foreman-installer with the following options to create a smart proxy:

foreman-installer
–no-enable-foreman
–no-enable-foreman-cli
–no-enable-foreman-plugin-bootdisk
–enable-foreman-plugin-setup
–enable-puppet
–puppet-server-ca=false
–puppet-server-foreman-url=https://example.com
–enable-foreman-proxy
–foreman-proxy-tftp=true
–foreman-proxy-tftp-servername=10.0.0.1
–foreman-proxy-dhcp=true
–foreman-proxy-dhcp-interface=ens160
–foreman-proxy-dhcp-gateway=10.0.0.1
–foreman-proxy-dhcp-range=“10.0.0.2 10.2.1.10”
–foreman-proxy-dhcp-nameservers=“10.0.0.20”
–foreman-proxy-foreman-base-url=https://example.com
–foreman-proxy-trusted-hosts=foreman.example.com
–foreman-proxy-oauth-consumer-key=aaaaaaaaaaaaaaa
–foreman-proxy-oauth-consumer-secret=nnnnnnnnnnnnnnn

I receive an error related to Foreman Rake:

Could not find resource ‘Foreman::Rake[apipie:cache:index]’ for relationship from ‘Package[setup]’ on node

Expected outcome:

The installer should install the smart proxy as per the specified parameters

Foreman and Proxy versions:
Foreman and Smart Proxy Version 1.21

Foreman and Proxy plugin versions:
Foreman and Smart Proxy Version 1.21

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

 Could not find resource 'Foreman::Rake[apipie:cache:index]' for relationship from 'Package[setup]' on node example.com
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:43:in `mk_relationship'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:21:in `block (2 levels) in evaluate'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `each'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `block in evaluate'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `each'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `evaluate'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `block in evaluate_relationships'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `each'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `evaluate_relationships'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:626:in `finish'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block (2 levels) in compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block in compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:155:in `compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:35:in `compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:303:in `block (2 levels) in compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:301:in `block in compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
/opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:299:in `compile'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:54:in `block in find'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node/environment.rb:450:in `with_text_domain'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:53:in `find'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:262:in `block in main'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:139:in `run'
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
/opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
Preparing installation Done                                              
  Something went wrong! Check the log for ERROR-level output
  * Foreman Proxy is running at https://example.com:8443
  * Puppetmaster is running at port 8140
  The full log is at /var/log/foreman-installer/foreman.log

Extract from /var/log/foreman-installer/foreman.log

[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Package[puppetserver] to User[puppet] with 'before'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Server::Config] to Class[Foreman_proxy::Config] with 'notify'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Server::Config] to Class[Foreman_proxy::Service] with 'notify'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Server::Install] to Class[Puppet::Server::Config] with 'notify'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Config] to Class[Puppet::Server::Service] with 'notify'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Server::Config] to Class[Puppet::Server::Service] with 'notify'
[DEBUG 2019-04-05T13:59:10 main]  Adding relationship from Class[Puppet::Server] to Class[Puppet::Agent::Service] with 'before'
[ERROR 2019-04-05T13:59:10 main]  Could not find resource 'Foreman::Rake[apipie:cache:index]' for relationship from 'Package[setup]' on node example.com
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:43:in `mk_relationship'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:21:in `block (2 levels) in evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `block in evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `block in evaluate_relationships'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `evaluate_relationships'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:626:in `finish'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block (2 levels) in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:155:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:35:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:303:in `block (2 levels) in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:301:in `block in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:299:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:54:in `block in find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node/environment.rb:450:in `with_text_domain'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:53:in `find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:262:in `block in main'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:139:in `run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[ INFO 2019-04-05T13:59:10 main] Puppet has finished, bye!
[ INFO 2019-04-05T13:59:10 main] Executing hooks in group post
[DEBUG 2019-04-05T13:59:10 main] Hook /usr/share/foreman-installer/hooks/post/10-post_install_message.rb returned nil
[ INFO 2019-04-05T13:59:10 main] All hooks in group post finished
[DEBUG 2019-04-05T13:59:10 main] Exit with status code: 1 (signal was 1)
[ERROR 2019-04-05T13:59:10 main] Errors encountered during run:
[ERROR 2019-04-05T13:59:10 main]  Could not find resource 'Foreman::Rake[apipie:cache:index]' for relationship from 'Package[setup]' on node example.com
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:43:in `mk_relationship'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:21:in `block (2 levels) in evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:20:in `block in evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/relationship.rb:19:in `evaluate'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `block in evaluate_relationships'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `each'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:394:in `evaluate_relationships'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:626:in `finish'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block (2 levels) in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:185:in `block in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:155:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:35:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:303:in `block (2 levels) in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:301:in `block in compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:299:in `compile'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:54:in `block in find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node/environment.rb:450:in `with_text_domain'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:53:in `find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:262:in `block in main'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:667:in `exit_on_fail'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:139:in `run'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:77:in `execute'
[ERROR 2019-04-05T13:59:10 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
[DEBUG 2019-04-05T13:59:10 main] Cleaning /tmp/kafo_puppet20190405-17156-18sxh7m.conf
[DEBUG 2019-04-05T13:59:10 main] Cleaning /tmp/kafo_hiera20190405-17156-va3tim
[DEBUG 2019-04-05T13:59:10 main] Cleaning /tmp/kafo_puppet20190405-17156-1g93568.conf
[DEBUG 2019-04-05T13:59:10 main] Cleaning /tmp/default_values.yaml
[ INFO 2019-04-05T13:59:10 main] Installer finished in 5.130092872 seconds

I think I have solved the issue, though I cannot explain it with the information given.

I simply changed my installation parameters to the following:

foreman-installer 
–no-enable-foreman 
–no-enable-foreman-cli 
–no-enable-foreman-plugin-bootdisk 
**–no-enable-foreman-plugin-setup**
–enable-puppet 
–puppet-server-ca=false 
–puppet-server-foreman-url=https://example.com 
–enable-foreman-proxy 
–foreman-proxy-tftp=true 
–foreman-proxy-tftp-servername=10.0.0.1 
–foreman-proxy-dhcp=true 
–foreman-proxy-dhcp-interface=ens160 
–foreman-proxy-dhcp-gateway=10.0.0.1 
–foreman-proxy-dhcp-range=“10.0.0.2 10.2.1.10” 
–foreman-proxy-dhcp-nameservers=“10.0.0.20” 
–foreman-proxy-foreman-base-url=https://example.com 
–foreman-proxy-trusted-hosts=foreman.example.com 
–foreman-proxy-oauth-consumer-key=aaaaaaaaaaaaaaa 
–foreman-proxy-oauth-consumer-secret=nnnnnnnnnnnnnnn