Foreman-installer -i fails

running foreman-installer -i doesn’t run

Expected outcome:
install without predefined yaml setting file

Foreman and Proxy versions:
2.1 - i just followed the install instructions from the quickstart page.

Foreman and Proxy plugin versions:
i guess none at the moment.

Distribution and version:
centos 7 and centos 8 - tried both distros same issue.

Other relevant data:

’ | RUBYLIB=/opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/…/…//modules: /opt/puppetlabs/bin/puppet apply --config=/tmp/kafo_installation20200912-12794-v82 79k/puppet.conf
[ERROR 2020-09-12T22:38:58 main] Warning: /etc/foreman-installer/custom-hiera.yaml: file does not contain a valid yaml hash
Error: Evaluation Error: Error while evaluating a Function Call, ‘upcase’ parameter ‘arg’ expects a value of type Numeric, String, Array, or Hash, got Undef (file: /usr/share/forema n-installer/modules/foreman_proxy/manifests/params.pp, line: 279, column: 29) on node computer-domain-domain-com

  $dns_zone = $facts['networking']['domain']
  $dns_realm = upcase($dns_zone)

This part of the puppet code causes the error. So can you have a look if facter is for some reason not able to gather this fact?

1 Like