When trying to install Foreman Proxy 3.0 using following command:
foreman-installer
–no-enable-foreman
–no-enable-foreman-cli
–enable-puppet
–puppet-server-ca=false
–enable-foreman-proxy
–foreman-proxy-puppetca=false
–foreman-proxy-foreman-base-url=https://
–foreman-proxy-oauth-consumer-key=
–foreman-proxy-oauth-consumer-secret=
I get a following result:
2021-09-24 02:19:43 [NOTICE] [root] Loading installer configuration. This will take some time .
2021-09-24 02:19:48 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-09-24 02:19:48 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-09-24 02:19:51 [NOTICE] [configure] Starting system configuration.
2021-09-24 02:19:56 [ERROR ] [configure] Evaluation Error: Error while evaluating a Resource Statement, Foreman::Plugin[puppet]:
2021-09-24 02:19:56 [ERROR ] [configure] parameter ‘version’ expects a String value, got Undef
2021-09-24 02:19:56 [ERROR ] [configure] parameter ‘config_file_group’ expects a String value, got Undef (file: /usr/share/foreman-installer/modules/foreman/manifests/plugin/puppet.pp, line: 6) on node
2021-09-24 02:19:56 [NOTICE] [configure] System configuration has finished.
For version 2.5 everything works fine.
I expect proxy to install successfully
#yum info foreman-installer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base: ftpmirror_your_org
centos-sclo-rh: mirrors_gigenet_com
epel: mirror_team-cymru_com
extras: ftpmirror_your_org
updates: centos_mirror_lstn_net
Installed Packages
Name : foreman-installer
Arch : noarch
Epoch : 1
Version : 3.0.0
Release : 1.el7
Size : 6.5 M
Repo : installed
From repo : foreman
Summary : Puppet-based installer for The Foreman
URL : https://theforeman.org
License : GPLv3+ and ASL 2.0
Description : Complete installer for The Foreman life-cycle management system based on Puppet.
Thanks for the workaround. I gave it a try, without success.
[root@smart-proxy ~]# foreman-installer --no-enable-foreman-plugin-puppet
2021-09-28 18:09:32 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-09-28 18:09:36 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-09-28 18:09:36 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-09-28 18:09:44 [NOTICE] [configure] Starting system configuration.
2021-09-28 18:09:50 [ERROR ] [configure] Could not find resource 'Package[foreman-cli]' in parameter 'require' (file: /usr/share/foreman-installer/modules/foreman/manifests/cli/plugin.pp, line: 28) on node smart-proxy.domain.org
2021-09-28 18:09:50 [NOTICE] [configure] System configuration has finished.
There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
The full log is at /var/log/foreman-installer/foreman.log
Is there something else I should pass as parameter to the foreman-installer?