Problem:
A fresh server build with Centos 7.8 and Katello 3.16.RC5. Following the installation guide after “yum install katello” I wanted to see what options I could use with the installer. As per the docs, I tried
foreman-installer --scenario katello --help
Actual output:
foreman-installer --scenario katello --help
Could not get default values, check log file at /var/log/foreman-installer/katello.log for more information
Expected outcome:
Usage information would be provided.
Foreman and Proxy plugin versions:
foreman-installer-katello-2.1.1-2.el7.noarch
katello-3.16.0-0.4.rc5.1.el7.noarch
foreman-release-2.1.1-1.el7.noarch
Distribution and version:
Centos 7.8
Other relevant data:
The installer logs says:
[ERROR 2020-08-10T12:47:51 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/foreman-installer/modules/foreman_proxy/manifests/params.pp, line: 279, column: 29) on node hostname
All values in /etc/foreman-installer/custom-hiera.yaml are currently commented out.